Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

#2994, unnecessary calls to Model::__isset(null)

  • Loading branch information...
commit 4927cf690177c6e9099319fb9eb79134254a6a54 1 parent 5b7c3d6
@tharlinsmith tharlinsmith authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Cake/Model/Model.php
View
2  lib/Cake/Model/Model.php
@@ -1408,7 +1408,7 @@ public function getColumnType($column) {
list($model, $column) = explode('.', $column);
}
- if ($model != $this->alias && isset($this->{$model})) {
+ if (isset($model) && $model != $this->alias && isset($this->{$model})) {
return $this->{$model}->getColumnType($column);
}
Please sign in to comment.
Something went wrong with that request. Please try again.