diff options
author | deva <deva> | 2008-10-11 18:09:22 +0000 |
---|---|---|
committer | deva <deva> | 2008-10-11 18:09:22 +0000 |
commit | d9285643a9725ccce5fdbdfff3205a6aa074c459 (patch) | |
tree | f09c26f9a3d319087d7a518707b59bc493c7bad3 /forum | |
parent | bd9e96a0c94d263b734720a9e3e35d4d1e872de3 (diff) |
Bugfix: fid:=0 doesn't work... now it starts at 1.
Diffstat (limited to 'forum')
-rw-r--r-- | forum/utils/view.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forum/utils/view.php b/forum/utils/view.php index 01e8b6a..9ff3143 100644 --- a/forum/utils/view.php +++ b/forum/utils/view.php @@ -25,7 +25,7 @@ echo "</div>\n"; $forums = new Forums($FORUMS_DIR . "/forums.xml"); if($action == "addforum") { - $newfid = 0; + $newfid = 1; while($forums->getForum($newfid)) $newfid++; $forums->add(new Forum($newfid, $title)); |