Commit 8da17b13 authored by ispcomm's avatar ispcomm
Browse files

small opt.on _primary_id

parent 6dfc6d26
......@@ -204,7 +204,7 @@ class remoting_lib extends tform_base {
if ( isset($record['_primary_id']) && is_numeric($record['_primary_id'])) {
$_primary_id = intval($record['_primary_id']);
if ($_primary_id > 0)
$this->primary_id_override = intval($record['_primary_id']);
$this->primary_id_override = $_primary_id;
}
if(!is_array($this->formDef)) $app->error("Form definition not found.");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment