Fixing typo

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4781 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
dho 2007-04-05 12:11:23 +00:00
parent df78e11548
commit dc06a86291

View file

@ -346,7 +346,7 @@ class FormHelper extends AppHelper {
} else if (ClassRegistry::isKeySet($this->model())) {
$model =& ClassRegistry::getObject($this->model());
$type = $model->getColumnType($this->field());
$pimaryKey = $model->primaryKey;
$primaryKey = $model->primaryKey;
}
if(isset($type)) {