Index: trunk/core/units/general/inp_ses_storage.php =================================================================== diff -u -N -r6685 -r7635 --- trunk/core/units/general/inp_ses_storage.php (.../inp_ses_storage.php) (revision 6685) +++ trunk/core/units/general/inp_ses_storage.php (.../inp_ses_storage.php) (revision 7635) @@ -112,7 +112,7 @@ { if( preg_match($mask_edit_table,$table,$rets) || preg_match($mask_search_table,$table,$rets) ) { - $sid=$rets[1]; + $sid = preg_replace('/(.*)_(.*)/', '\\1', $rets[1]); // remove popup's wid from sid $is_alive = $this->Conn->GetOne( sprintf($sql,$sid) ); if(!$is_alive) $this->Conn->Query('DROP TABLE IF EXISTS '.$table); }