[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    www/media/includes/classes
From:       Ingo Malchow <ingomalchow () googlemail ! com>
Date:       2010-02-09 19:48:02
Message-ID: 1265744882.034048.23174.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1087920 by imalchow:

apply app pages patch, thanks to aseigo

 M  +2 -2      class_appdata.inc  


--- trunk/www/media/includes/classes/class_appdata.inc #1087919:1087920
@@ -230,8 +230,8 @@
 
         //Returns true if the application has an external bugtracker (!bugs.k.o)
         function isBugTrackerExternal() {
-            return (substr($this->data['bugs'], 0, 7) == "http://" ||
-                substr($this->data['bugs'], 0, 8) == "https://");
+            $string = is_array($this->data['bugs']) ? $this->data['bugs'][0] : $this->data['bugs'];
+	    return (substr($string, 0, 7) == "http://" || substr($string, 0, 8) == "https://");
         }
 
         function bugzillaProduct() {
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic