Merge branch 'master' into develop

This commit is contained in:
Sam Georges 2014-10-17 08:14:04 +11:00
commit 6e827b4c8c
2 changed files with 3 additions and 3 deletions

View File

@ -414,7 +414,7 @@ class RelationController extends ControllerBehavior
*/ */
protected function findExistingRelationIds($checkIds = null) protected function findExistingRelationIds($checkIds = null)
{ {
$foreignKeyName = $this->relationModel->getKeyName(); $foreignKeyName = $this->relationModel->table . '.' . $this->relationModel->getKeyName();
$results = $this->relationObject $results = $this->relationObject
->getBaseQuery() ->getBaseQuery()
@ -818,4 +818,4 @@ class RelationController extends ControllerBehavior
return $this->sessionKey = FormHelper::getSessionKey(); return $this->sessionKey = FormHelper::getSessionKey();
} }
} }

View File

@ -92,4 +92,4 @@ class DatePicker extends FormWidgetBase
{ {
return strlen($value) ? $value : null; return strlen($value) ? $value : null;
} }
} }