cvs: phpweb / bugs.php

From: Date: Mon, 23 Oct 2000 02:58:59 +0000
Subject: cvs: phpweb / bugs.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-2600@lists.php.net to get a copy of this message
lyric Sun Oct 22 19:58:59 2000 EDT Modified files: /phpweb bugs.php Log: Change a couple of "if($foo)" to "if(isset($foo))" to remove pedantic warnings. Yes, the difference between the two is okay for this use. Index: phpweb/bugs.php diff -u phpweb/bugs.php:1.61 phpweb/bugs.php:1.62 --- phpweb/bugs.php:1.61 Sun Oct 22 19:55:11 2000 +++ phpweb/bugs.php Sun Oct 22 19:58:59 2000 @@ -1,5 +1,5 @@ <? - if($save && $user && $pw) { + if(isset($save) && isset($user) && isset($pw)) { SetCookie("MAGIC_COOKIE",base64_encode("$user:$pw"),time()+3600*24*12,'/'); }

« previous php.mirrors (#2600) next »