diff --git a/lib/Model.php b/lib/Model.php index 99667b41f..936454988 100644 --- a/lib/Model.php +++ b/lib/Model.php @@ -1596,9 +1596,6 @@ public static function find(/* $type, $options */) $args = array_slice($args,1); $num_args--; } - //find by pk - elseif (1 === count($args) && 1 == $num_args) - $args = $args[0]; // anything left in $args is a find by pk if ($num_args > 0 && !isset($options['conditions']))