X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmodule-functions.php;h=72ed10ee4bc14b11496b0e9eab06783e99ac9ffb;hb=e19231f39d9d6583cc5753dbd2638c597957fdd1;hp=9665a078b105e4ac6ae462b6d04199602866cc81;hpb=0dd76819236495cb7cfe97d8152700b895261eea;p=mailer.git diff --git a/inc/module-functions.php b/inc/module-functions.php index 9665a078b1..72ed10ee4b 100644 --- a/inc/module-functions.php +++ b/inc/module-functions.php @@ -11,7 +11,7 @@ * Kurzbeschreibung : Modulfunktionen * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2013 by Mailer Developer Team * + * Copyright (c) 2009 - 2016 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -80,7 +80,7 @@ function getModuleTitle ($module) { } else { // No name found $data['title'] = '{%message,UNKNOWN_MODULE_DETECTED_TITLE=' . $module . '%}'; - if ((is_resource($result)) && (ifSqlHasZeroNums($result))) { + if ((isValidSqlResult($result)) && (ifSqlHasZeroNumRows($result))) { // Add module to database and ignore return value checkModulePermissions($module); } // END - if