$this->jerr($p->name . " saved the record since you started editing,\nDo you really want to update it?", array('needs_confirm' => true));
}
-
-
-
}
+
return $lock;
}
function insert($x, $req, $with_perm_check = true)
- {
-
+ {
if (method_exists($x, 'setFromRoo')) {
$res = $x->setFromRoo($req, $this);
if (is_string($res)) {
$x->beforeInsert($_REQUEST, $this);
}
-
$res = $x->insert();
if ($res === false) {
$this->jerr($x->_lastError->toString());