CC-3949: On edit empty show, time_filled becomes null
- fixed
This commit is contained in:
parent
e661f400a4
commit
0bae3f9038
1 changed files with 6 additions and 2 deletions
|
@ -160,8 +160,12 @@ class CcShowInstances extends BaseCcShowInstances {
|
|||
* @param PropelPDO $con A connection object
|
||||
*/
|
||||
public function updateDbTimeFilled(PropelPDO $con)
|
||||
{
|
||||
$this->setDbTimeFilled($this->computeDbTimeFilled($con));
|
||||
{
|
||||
$timefilled = $this->computeDbTimeFilled($con);
|
||||
if($timefilled == null){
|
||||
$timefilled = "00:00:00";
|
||||
}
|
||||
$this->setDbTimeFilled($timefilled);
|
||||
$this->save($con);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue