} //For show detail tables on master page edit if ($inlineedit != EDIT_INLINE) { $dpParams = array(); if ($pageObject->isShowDetailTables && !isMobile()) { $ids = $id; $pageObject->jsSettings['tableSettings'][$strTableName]['dpParams'] = array('tableNames' => $dpParams['strTableNames'], 'ids' => $dpParams['ids']); } } ///////////////////////////////////////////////////////////// // process entered data, read and save ///////////////////////////////////////////////////////////// // proccess captcha if ($inlineedit != EDIT_INLINE) { if ($pageObject->captchaExists()) { $pageObject->doCaptchaCode(); } } if (@$_POST["a"] == "edited") { $strWhereClause = whereAdd($strWhereClause, KeyWhere($keys)); $oldValuesRead = false; if ($eventObj->exists("AfterEdit") || $eventObj->exists("BeforeEdit") || $auditObj) { // read old values $rsold = db_query(gSQLWhere($strWhereClause), $conn); $dataold = db_fetch_array($rsold); $oldValuesRead = true; } $evalues = $efilename_values = $blobfields = array(); // processing Name - begin $condition = 1; if ($condition) {