[geeklog-hg] geeklog: Fixed Story What's Related if nothing is return (variab...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sat Jul 13 13:42:42 EDT 2013
changeset 9184:80ed07764ece
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/80ed07764ece
user: Tom <websitemaster at cogeco.net>
date: Sat Jul 13 12:17:42 2013 -0400
description:
Fixed Story What's Related if nothing is return (variable was not declared)
diffstat:
system/lib-story.php | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r fea8b0e37167 -r 80ed07764ece system/lib-story.php
--- a/system/lib-story.php Sat Jul 13 12:16:48 2013 -0400
+++ b/system/lib-story.php Sat Jul 13 12:17:42 2013 -0400
@@ -897,9 +897,8 @@
$result = DB_query($sql);
$nrows = DB_numRows($result);
+ $newstories = array();
if ($nrows > 0) {
- $newstories = array();
-
for ($x = 0; $x < $nrows; $x++) {
$A = DB_fetchArray($result);
More information about the geeklog-cvs
mailing list