mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 00:53:53 +02:00
2019-01-29 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the 'EditCut' web API call that caused attempts to clear the 'START_DAYPART' and 'END_DAYPART' fields to return an error.
This commit is contained in:
@@ -255,6 +255,9 @@ bool RDFormPost::getValue(const QString &name,QDate *date,bool *ok)
|
||||
return false;
|
||||
}
|
||||
if(str.length()==0) {
|
||||
if(ok!=NULL) {
|
||||
*ok=true;
|
||||
}
|
||||
*date=QDate();
|
||||
}
|
||||
else {
|
||||
@@ -275,6 +278,9 @@ bool RDFormPost::getValue(const QString &name,QTime *time,bool *ok)
|
||||
return false;
|
||||
}
|
||||
if(str.length()==0) {
|
||||
if(ok!=NULL) {
|
||||
*ok=true;
|
||||
}
|
||||
*time=QTime();
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user