CC-3949: On edit empty show, time_filled becomes null

fix method of checking null
This commit is contained in:
Martin Konecny 2012-06-11 17:08:17 -04:00
parent 0d770e55ef
commit 2ebf149a65
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ class CcShowInstances extends BaseCcShowInstances {
public function updateDbTimeFilled(PropelPDO $con)
{
$timefilled = $this->computeDbTimeFilled($con);
if($timefilled == null){
if(is_null($timefilled)){
$timefilled = "00:00:00";
}
$this->setDbTimeFilled($timefilled);