Topics
|
|
phpWebLog
|
|
Last 5 Comments
|
|
phpWebLog Addons
|
|
|
|
bug in 5.0-release
views: 243 |
By Bill Bradford (---.mrbill.net) on Saturday February 03 2001 @ 09:04PM EST [ General ] Thanks for fixing the mysql warning on story comments, but now its even stranger - some stories (that were fine with the 0.5 preeleases) now dont come up with an option for adding comments at all. Stories that already *had*
comments before I upgraded to the final 0.5
release have comments, and the forms for adding more, but stories that *didnt* have any comments now dont have the option to add new.
|
jason writes on Saturday February 03 2001 @ 10:48PM EST: [ reply | parent ]
Hmm.. before I dig around to see if this is true. Make sure that your topics allows for comments. 0.5 has rules for topics that can disable comments.
|
jason writes on Sunday February 04 2001 @ 02:03AM EST: [ reply | parent ]
In stories.php, line 57:
change:
if ($nrows>0 || F_count("T_Comments","ParentRid",$A["Rid"])>0) {
to:
if ($nrows>0 || F_count("T_Comments","ParentRid",$A["Rid"])>0 || $A["Topic"]==0) {
that should do it.
|
|
Bill Bradford writes on Sunday February 04 2001 @ 04:03AM EST: [ reply | parent ]
Weird, in the email copy of this that I got,
the s were missing... thanks, tho, for
the fix.
|
|
|
|
PHP.net
|
|
PHPBuilder
|
|
Bordom
|
|
|