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

List:       kde-commits
Subject:    www/sites/www-devel/media/includes/classes
From:       Darío Andrés Rodríguez <andresbajotierra () gmail ! co
Date:       2010-02-08 13:56:58
Message-ID: 1265637418.199073.32137.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1087063 by darioandres:

- Fix some warnings



 M  +2 -2      class_appdata.inc  


--- trunk/www/sites/www-devel/media/includes/classes/class_appdata.inc #1087062:1087063
@@ -74,7 +74,7 @@
         }
 
         function hasAuthors() {
-            return $this->data['authors'] != false;
+            return isset($this->data['authors']) && ($this->data['authors'] != false);
         }
 
         function authorHtml() {
@@ -112,7 +112,7 @@
         }
         
         function hasLicense() {
-            return $this->data['license'] != false;
+            return isset($this->data['license']) && ($this->data['license'] != false);
         }
 
         function licenseHtml() {
[prev in list] [next in list] [prev in thread] [next in thread] 

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