$return = $GLOBALS['translation_tables']['yoomedia']['error_codes'][$errorCode];
} else {
// Log missing entries
- print '<pre>';
+ DEBUG_LOG(__FUNCTION__, __LINE__, "errorCode={$errorCode}");
+ print('<pre>');
debug_print_backtrace();
die('</pre>');
- DEBUG_LOG(__FUNCTION__, __LINE__, "errorCode={$errorCode}");
}
// Return value
// Query database
$result = SQL_QUERY_ESC("SELECT `id`, UNIX_TIMESTAMP(`inserted`) AS inserted FROM `{!_MYSQL_PREFIX!}_yoomedia_reload` WHERE `type`='%s' AND `y_id`=%s LIMIT 1",
- array($type, bigintval($id)), __FUNCTION__, __LINE__);
+ array($type, bigintval($id)), __FUNCTION__, __LINE__);
// Entry found?
if (SQL_NUMROWS($result) == 1) {