From: Lo?c C. <lo...@us...> - 2001-04-10 19:27:41
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs In directory usw-pr-cvs1:/tmp/cvs-serv10721/chat/lib/index_libs Modified Files: do_enter_db_work.lib.php3 Log Message: Fix a bug when getting some session data (notify, message order...) Index: do_enter_db_work.lib.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs/do_enter_db_work.lib.php3,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** do_enter_db_work.lib.php3 2001/04/10 15:00:06 1.4 --- do_enter_db_work.lib.php3 2001/04/10 19:21:27 1.5 *************** *** 60,64 **** else if (isset($cookieMsgOrder)) $msgOrder = $cookieMsgOrder; ! if (empty($msgOrder)) $msgOrder = C_MSG_ORDER; --- 60,64 ---- else if (isset($cookieMsgOrder)) $msgOrder = $cookieMsgOrder; ! if (!isset($msgOrder)) $msgOrder = C_MSG_ORDER; *************** *** 67,71 **** else if (isset($cookieShowTimestamp)) $showTimestamp = $cookieShowTimestamp; ! if (empty($msgOrder)) $showTimestamp = C_SHOW_TIMESTAMP; --- 67,71 ---- else if (isset($cookieShowTimestamp)) $showTimestamp = $cookieShowTimestamp; ! if (!isset($showTimestamp)) $showTimestamp = C_SHOW_TIMESTAMP; *************** *** 74,78 **** else if (isset($cookieNotify)) $notify = $cookieNotify; ! if (empty($msgOrder)) $notify = C_NOTIFY; --- 74,78 ---- else if (isset($cookieNotify)) $notify = $cookieNotify; ! if (!isset($notify)) $notify = C_NOTIFY; |