[prev in list] [next in list] [prev in thread] [next in thread]
List: phorum-dev
Subject: [phorum-dev] [bug] Empty board bug
From: Paul Guyot <pguyot () pnm-consulting ! com>
Date: 2000-05-31 9:37:08
[Download RAW message or body]
When the board is empty, list.php generates two warnings. (not very
nice for a starting site).
The problem is line 93 (3.1.1pre)
Instead of $maxthread=$rec["thread"];
One should read:
if(isset($rec['thread']))
{
$maxthread=$rec["thread"];
} else {
$maxthread=0;
}
Besides, the phorum does not totally complain to the html standards.
(this is a rare behavior, anyway).
Regards,
Paul
--
P&M Consulting Newton Program
http://www.pnm-consulting.com/newton/
---------------------------------------------------------------------
To unsubscribe, e-mail: phorum-dev-unsubscribe@lists.phorum.org
For additional commands, e-mail: phorum-dev-help@lists.phorum.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic