Minor cosmetic updates

This commit is contained in:
Deon George
2011-05-27 21:08:44 +10:00
parent 7a480dba58
commit dcd6a54cb9
7 changed files with 94 additions and 84 deletions

View File

@@ -63,7 +63,7 @@ class ORM extends Kohana_ORM {
if (isset($this->_object_formated[$column]))
return $this->_object_formated[$column];
else
return $value ? $value : ' ';
return strlen((string)$value) ? $value : ' ';
}
}
?>