[geeklog-hg] geeklog: Fixed E_ALL error

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Fri Jan 3 01:52:39 EST 2014


changeset 9369:9a86aba271ac
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/9a86aba271ac
user: dengen <taharaxp at gmail.com>
date: Fri Jan 03 15:51:47 2014 +0900
description:
Fixed E_ALL error

diffstat:

 public_html/article.php |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r 8830d7f56f75 -r 9a86aba271ac public_html/article.php
--- a/public_html/article.php	Thu Jan 02 22:37:26 2014 +0900
+++ b/public_html/article.php	Fri Jan 03 15:51:47 2014 +0900
@@ -72,7 +72,9 @@
     $mode = COM_applyFilter ($_POST['format']);
 }
 if (!empty($mode)) {
-    $sid = COM_applyFilter ($_POST['story']);
+    if (isset ($_POST['story'])) {
+        $sid = COM_applyFilter ($_POST['story']);
+    }
     if (isset ($_POST['order'])) {
         $order = COM_applyFilter ($_POST['order']);
     }



More information about the geeklog-cvs mailing list