Skip to content

Commit

Permalink
Fixed undefined object warning.
Browse files Browse the repository at this point in the history
git-svn-id: http://voip.null.ro/svn/ansql/trunk@113 dbfed7de-b0aa-0410-b6a1-c7e608b77fc9
  • Loading branch information
monica committed Aug 28, 2014
1 parent 41982f6 commit 15ddf1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework.php
Original file line number Diff line number Diff line change
Expand Up @@ -1524,9 +1524,9 @@ public function update($conditions = array(), $verifications = array())
else
$update_log .= "$var_name=***";
}
$obj_name = $this->getObjectName();
if ($variables == "")
return array(true, _('Nothing to update in ')._($obj_name).".",array());
$obj_name = $this->getObjectName();
if($error != "")
return array(false,_("Failed to update").' '._($obj_name).".".$error, $error_fields,0);
$table = $this->getTableName();
Expand Down

0 comments on commit 15ddf1e

Please sign in to comment.