Renamed function so it might be more understandable
[mailer.git] / inc / module-functions.php
index bf629eb46227b27e14d945201cbca2d8d04ffb82..5b520465b1c6c00b2bbe1445ee1847f0ab686b73 100644 (file)
@@ -61,7 +61,7 @@ function getModuleTitle ($module) {
                                array($module), __FUNCTION__, __LINE__);
 
                        // Is the entry there?
-                       if (SQL_NUMROWS($result)) {
+                       if (SQL_NUMROWS($result) == 1) {
                                // Get the title from database
                                $data = SQL_FETCHARRAY($result);
                        } // END - if