diff --git a/cake/libs/model/model.php b/cake/libs/model/model.php index b0c80f9e8..98624ef60 100644 --- a/cake/libs/model/model.php +++ b/cake/libs/model/model.php @@ -785,6 +785,9 @@ class Model extends Overloadable { * @access public */ function set($one, $two = null) { + if (!$one) { + return; + } if (is_object($one)) { $one = Set::reverse($one); }