Trimming whitespaces.

This commit is contained in:
Juan Basso 2011-02-24 21:12:58 -03:00
parent 5ab5197090
commit 9e8fc96bf8

View file

@ -68,7 +68,7 @@ class DboSource extends DataSource {
* @var boolean. * @var boolean.
* @access public * @access public
*/ */
public $cacheMethods = true ; public $cacheMethods = true;
/** /**
* Print full query debug info? * Print full query debug info?
@ -332,7 +332,7 @@ class DboSource extends DataSource {
} }
} elseif (in_array($data, array('{$__cakeID__$}', '{$__cakeForeignKey__$}'), true)) { } elseif (in_array($data, array('{$__cakeID__$}', '{$__cakeForeignKey__$}'), true)) {
return $data; return $data;
} }
if ($data === null || (is_array($data) && empty($data))) { if ($data === null || (is_array($data) && empty($data))) {
return 'NULL'; return 'NULL';
@ -482,7 +482,7 @@ class DboSource extends DataSource {
$this->error = $e->getMessage(); $this->error = $e->getMessage();
return false; return false;
} }
} }
/** /**