clean-up

Paul van Schayck polleke at gmail.com
Thu Dec 23 15:39:01 CST 2004


Hey Eric,

On Thu, 23 Dec 2004 01:38:02 -0800 (PST), Eric Blade <ekdikeo4 at yahoo.com> wrote:
> The attached patch includes a lot of cleaning up,
> mostly to HTML, a bit to some PHP.

What's this supposed to do:
     if(!$tempResult)
 	{
-	    echo "$query <br>\n";
+	    echo "$query <<br />>\n";
 	    echo "An error occurred: ".mysql_error()."<p>";
 	    exit;
 	}
@@ -68,7 +68,7 @@
     if(debugging())
     {
 	echo $query;
-	echo "<br><br>";
+	echo "<<br />><<br />>";
     }

And:

-if(!loggedin())
+if(!loggedin() || (!havepriv("admin"))

Shouldn't this be
if(!loggedin() AND (!havepriv("admin"))

Rest looks good.

Kind regards,
Paul



More information about the wine-devel mailing list