[geeklog-cvs] geeklog: E_ALL fix

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Mon Apr 20 08:14:03 EDT 2009


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/d0bb412e546c
changeset: 6981:d0bb412e546c
user:      Dirk Haun <dirk at haun-online.de>
date:      Mon Apr 20 12:30:10 2009 +0200
description:
E_ALL fix

diffstat:

1 file changed, 2 insertions(+), 1 deletion(-)
system/classes/search.class.php |    3 ++-

diffs (13 lines):

diff -r 815b2faf521b -r d0bb412e546c system/classes/search.class.php
--- a/system/classes/search.class.php	Mon Apr 20 11:46:36 2009 +0200
+++ b/system/classes/search.class.php	Mon Apr 20 12:30:10 2009 +0200
@@ -716,7 +716,8 @@
             if ($row['url'] != '#')
             {
                 $row['url'] = ($row['url'][0] == '/' ? $_CONF['site_url'] : '') . $row['url'];
-                if ($this->_url_rewrite[$row[SQL_NAME]]) {
+                if (isset($this->_url_rewrite[$row[SQL_NAME]]) &&
+                        $this->_url_rewrite[$row[SQL_NAME]]) {
                     $row['url'] = COM_buildUrl($row['url']);
                 }
                 $row['url'] .= (strpos($row['url'],'?') ? '&' : '?') . 'query=' . urlencode($this->_query);



More information about the geeklog-cvs mailing list