From: Lo?c C. <lo...@us...> - 2001-03-24 16:09:28
|
Update of /cvsroot/phpmychat/phpMyChat - 0.14/chat In directory usw-pr-cvs1:/tmp/cvs-serv6672 Modified Files: input.php3 handle_inputH.php3 Log Message: Oups, bad affection for the variable '$C'! ***** Bogus filespec: - ***** Bogus filespec: 0.14/chat Index: input.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat - 0.14/chat/input.php3,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** input.php3 2001/03/24 15:14:49 1.6 --- input.php3 2001/03/24 16:09:24 1.7 *************** *** 197,201 **** $C = "#000000"; } ! else { $C = $CookieColor; --- 197,202 ---- $C = "#000000"; } ! ! if (!isset($C)) { $C = $CookieColor; Index: handle_inputH.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat - 0.14/chat/handle_inputH.php3,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** handle_inputH.php3 2001/03/24 15:14:50 1.3 --- handle_inputH.php3 2001/03/24 16:09:24 1.4 *************** *** 199,207 **** if (!(isset($status) && ($status == "a" || $status == "m"))) $C = "#000000"; } ! else { $C = $CookieColor; ! }; ! }; setcookie("CookieColor", $C, time() + 60*60*24*365); // cookie expires in one year --- 199,208 ---- if (!(isset($status) && ($status == "a" || $status == "m"))) $C = "#000000"; } ! ! if (!isset($C)) { $C = $CookieColor; ! } ! } setcookie("CookieColor", $C, time() + 60*60*24*365); // cookie expires in one year |