Explicit cast return of DBField->exists()

This commit is contained in:
Pedro Rodrigues 2014-11-07 00:16:12 +01:00
parent 646a57c324
commit d9fa6bd143

View File

@ -144,7 +144,7 @@ abstract class DBField extends ViewableData {
* @return boolean
*/
public function exists() {
return ($this->value);
return (bool)$this->value;
}
/**