mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Trimming whitespaces.
This commit is contained in:
parent
5ab5197090
commit
9e8fc96bf8
1 changed files with 3 additions and 3 deletions
|
@ -68,7 +68,7 @@ class DboSource extends DataSource {
|
|||
* @var boolean.
|
||||
* @access public
|
||||
*/
|
||||
public $cacheMethods = true ;
|
||||
public $cacheMethods = true;
|
||||
|
||||
/**
|
||||
* Print full query debug info?
|
||||
|
@ -332,7 +332,7 @@ class DboSource extends DataSource {
|
|||
}
|
||||
} elseif (in_array($data, array('{$__cakeID__$}', '{$__cakeForeignKey__$}'), true)) {
|
||||
return $data;
|
||||
}
|
||||
}
|
||||
|
||||
if ($data === null || (is_array($data) && empty($data))) {
|
||||
return 'NULL';
|
||||
|
@ -482,7 +482,7 @@ class DboSource extends DataSource {
|
|||
$this->error = $e->getMessage();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue