]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/yoomedia_functions.php
Renamed more templates
[mailer.git] / inc / libs / yoomedia_functions.php
index 5b82c5b5cea3dca4e7583941f958fc3c9724b9a1..c76bee6f4b541856669bd49dd062be2e98a7a7b5 100644 (file)
@@ -157,7 +157,7 @@ function YOOMEDIA_PARSE_RESPONSE ($response, $type) {
        // Cut off the header
        $dummy = removeHttpHeaderFromResponse($response);
 
-       // If we have no result, abort here
+       // If there is no result, abort here
        if (count($dummy) == 0) {
                // Empty response from API
                reportBug(__FUNCTION__, __LINE__, 'Empty result from API received. response()=' . count($response) . ',type=' . $type);
@@ -325,7 +325,7 @@ function YOOMEDIA_CHECK_RELOAD ($id, $reload, $type) {
        $reloaded = FALSE;
 
        // 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",
+       $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__);
 
        // Entry found?