Index: trunk/kernel/include/parseditem.php =================================================================== diff -u -r4077 -r4446 --- trunk/kernel/include/parseditem.php (.../parseditem.php) (revision 4077) +++ trunk/kernel/include/parseditem.php (.../parseditem.php) (revision 4446) @@ -683,6 +683,12 @@ */ var $Conn = null; + function isLiveTable() + { + global $objSession; + return !preg_match('/'.GetTablePrefix().'ses_'.$objSession->GetSessionKey().'_edit_(.*)/', $this->SourceTable); + } + function SetTable($action, $table_name = null) // new by Alex { // $action = {'live', 'restore','edit'}