Commit 6d2eab56 authored by Leigh Stoller's avatar Leigh Stoller

Minor bug fix.

parent f43f84bf
......@@ -231,7 +231,7 @@ else {
<table align=center class=stealth border=0>
<tr><td class=stealth align=center><h1>News</h1></td></tr>
<?php
if ($TBMAINSITE && ! (isset($single) || $single)) {
if ($TBMAINSITE && ! (isset($single) && $single)) {
echo "<tr><td class=stealth align=center>
<a href = 'doc/changelog.php3'>
(Changelog/Technical Details)</a></td></tr>\n";
......
......@@ -905,7 +905,7 @@ class User
DBQueryFatal("update users set ".
" weblogin_failcount=weblogin_failcount+1, ".
" weblogin_failstamp='$now' ".
" weblogin_failstamp='now()' ".
"where uid_idx='$idx'");
return $this->Refresh();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment