X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodule-functions.php;h=41c45b648c6c39a751aff54cb80cf6a9f8633b2c;hp=f5782820c8d024d4ba2b22660dd7377af9ee4432;hb=095f5ab59b539834d2c67e5d409d01820e10d8be;hpb=61621983cc6d7195fcc7eab29b5f6080ff283b34 diff --git a/inc/module-functions.php b/inc/module-functions.php index f5782820c8..41c45b648c 100644 --- a/inc/module-functions.php +++ b/inc/module-functions.php @@ -80,7 +80,7 @@ function getModuleTitle ($module) { } else { // No name found $data['title'] = '{%message,UNKNOWN_MODULE_DETECTED_TITLE=' . $module . '%}'; - if ((is_resource($result)) && (ifSqlHasZeroNumRows($result))) { + if ((isSqlResult($result)) && (ifSqlHasZeroNumRows($result))) { // Add module to database and ignore return value checkModulePermissions($module); } // END - if