Index: branches/unlabeled/unlabeled-1.88.2/kernel/include/parseditem.php =================================================================== diff -u -N -r4080 -r4438 --- branches/unlabeled/unlabeled-1.88.2/kernel/include/parseditem.php (.../parseditem.php) (revision 4080) +++ branches/unlabeled/unlabeled-1.88.2/kernel/include/parseditem.php (.../parseditem.php) (revision 4438) @@ -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'}