added alias for "cacheid" in cache sql command, updates #337

This commit is contained in:
Nils Bohrs
2014-04-13 19:06:45 +02:00
parent da4e0f2983
commit 77c32c0e0e

View File

@@ -52,7 +52,7 @@
if ($cache_id != 0)
{
//get cache record
$rs = sql("SELECT `caches`.`cache_id`, `caches`.`wp_oc` AS `wpoc`,
$rs = sql("SELECT `caches`.`cache_id`, `caches`.`wp_oc` AS `wpoc`, `caches`.`cache_id` AS `cacheid`,
`caches`.`user_id` AS `userid`, `caches`.`name`,
`caches`.`status` AS `status`,
IFNULL(`stat_caches`.`found`, 0) AS `found`,