X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Ffilter%2Fregister_filter.php;h=156362c2644628a6d778d191faa912d25c0641b3;hp=06af7b416283c3044afc71ac779cf8d64b8b183b;hb=155492a5b96cec674846973a8524238b0365a848;hpb=da5c63bacddced77a951cbe7b223f314885a6c87 diff --git a/inc/filter/register_filter.php b/inc/filter/register_filter.php index 06af7b4162..156362c264 100644 --- a/inc/filter/register_filter.php +++ b/inc/filter/register_filter.php @@ -44,11 +44,11 @@ if (!defined('__SECURITY')) { function FILTER_REGISTER_MUST_FILLOUT ($filterData) { // Get all fields for output //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!'); - $result = SQL_QUERY('SELECT `field_name`, `field_required` FROM `{?_MYSQL_PREFIX?}_must_register` ORDER BY `id` ASC', + $result = sqlQuery('SELECT `field_name`, `field_required` FROM `{?_MYSQL_PREFIX?}_must_register` ORDER BY `id` ASC', __FUNCTION__, __LINE__); // Walk through all entries - while ($row = SQL_FETCHARRAY($result)) { + while ($row = sqlFetchArray($result)) { // Must the user fill out this element? $value = ''; if ($row['field_required'] == 'Y') { @@ -60,7 +60,7 @@ function FILTER_REGISTER_MUST_FILLOUT ($filterData) { } // END - while // Free memory - SQL_FREERESULT($result); + sqlFreeResult($result); // Return it //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');