X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fsql-functions.php;h=2ed26a7da88e86b996c518c3e61fbcb33621d93e;hb=e5ee863933a5062292d2467fff8a51bf9a618785;hp=ede7d72f89b2b1631a0e26b184ce5d5620187332;hpb=3eb06053f9ae59084815875654465a2fb25829a6;p=mailer.git diff --git a/inc/sql-functions.php b/inc/sql-functions.php index ede7d72f89..2ed26a7da8 100644 --- a/inc/sql-functions.php +++ b/inc/sql-functions.php @@ -11,7 +11,7 @@ * Kurzbeschreibung : SQL-Funktionen fuer Queries * * -------------------------------------------------------------------- * * 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 * @@ -524,7 +524,7 @@ function isSqlLinkUp () { } // Wrapper function to make code more readable -function ifSqlHasZeroNums ($result) { +function ifSqlHasZeroNumRows ($result) { // Just pass it through return (sqlNumRows($result) === 0); } @@ -643,7 +643,7 @@ function ifSqlTableColumnExists ($tableName, $columnName, $forceFound = FALSE) { } // END - if // Determine it - $doesExist = (!ifSqlHasZeroNums($result)); + $doesExist = (!ifSqlHasZeroNumRows($result)); // Free result sqlFreeResult($result); @@ -725,7 +725,7 @@ function getArrayFromSupportedSqlEngines ($requestedEngine = 'ALL') { $result = sqlQuery('SHOW ENGINES', __FUNCTION__, __LINE__); // Are there entries? (Bad if not) - if (!ifSqlHasZeroNums($result)) { + if (!ifSqlHasZeroNumRows($result)) { // Load all and check for active entries while ($content = sqlFetchArray($result)) { // Debug message