From: Roland Häder Date: Sat, 20 Oct 2012 22:17:25 +0000 (+0000) Subject: Was added here only for debugging X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=df3ed14e57f4e3dd95b7f952af40bfd1f6b6667e;p=mailer.git Was added here only for debugging --- diff --git a/inc/mysql-manager.php b/inc/mysql-manager.php index d0ec3ca794..8c1ec94b52 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -2036,9 +2036,9 @@ function doGenericAddEntries ($tableName, $columns = array(), $filterFunctions = //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'columnName=' . $columnName . ',sqlValues[' . $key . '][' . gettype($sqlValues[$key]) . ']=' . $sqlValues[$key] . ' - AFTER!'); } elseif ((isset($filterFunctions[$key])) && (!empty($filterFunctions[$key])) && (!empty($sqlValues[$key]))) { // Run through an extra filter - /* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'columnName=' . $columnName . ',sqlValues[' . $key . '][' . gettype($sqlValues[$key]) . ']=' . $sqlValues[$key] . ' - BEFORE!'); + //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'columnName=' . $columnName . ',sqlValues[' . $key . '][' . gettype($sqlValues[$key]) . ']=' . $sqlValues[$key] . ' - BEFORE!'); $sqlValues[$key] = handleExtraValues($filterFunctions[$key], $sqlValues[$key], NULL); - /* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'columnName=' . $columnName . ',sqlValues[' . $key . '][' . gettype($sqlValues[$key]) . ']=' . $sqlValues[$key] . ' - AFTER!'); + //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'columnName=' . $columnName . ',sqlValues[' . $key . '][' . gettype($sqlValues[$key]) . ']=' . $sqlValues[$key] . ' - AFTER!'); } // Is the value not a number? @@ -2133,9 +2133,9 @@ function doGenericEditEntriesConfirm ($tableName, $columns = array(), $filterFun } elseif (isset($filterFunctions[$search])) { // Filter function set //* BUG: */ die($id.'/'.$key.'='.$entries[$id].'/'.$filterFunctions[$search]); - /* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'search=' . $search . ',filterFunctions=' . $filterFunctions[$search] . ',key=' . $key . ',id=' . $id . ',entries[' . gettype($entries[$id]) . ']=' . $entries[$id] . ' - BEFORE!'); + //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'search=' . $search . ',filterFunctions=' . $filterFunctions[$search] . ',key=' . $key . ',id=' . $id . ',entries[' . gettype($entries[$id]) . ']=' . $entries[$id] . ' - BEFORE!'); $entries[$id] = handleExtraValues($filterFunctions[$search], $entries[$id], NULL); - /* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'search=' . $search . ',filterFunctions=' . $filterFunctions[$search] . ',key=' . $key . ',id=' . $id . ',entries[' . gettype($entries[$id]) . ']=' . $entries[$id] . ' - AFTER!'); + //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'search=' . $search . ',filterFunctions=' . $filterFunctions[$search] . ',key=' . $key . ',id=' . $id . ',entries[' . gettype($entries[$id]) . ']=' . $entries[$id] . ' - AFTER!'); assert(!is_bool($entries[$id])); }