Merge branch 'next' of github.com:TheSerapher/php-mmcfe-ng into next
This commit is contained in:
commit
4f8cfd95db
@ -184,7 +184,7 @@ class Statistics {
|
|||||||
$stmt = $this->mysqli->prepare("
|
$stmt = $this->mysqli->prepare("
|
||||||
SELECT
|
SELECT
|
||||||
SUM(IF(our_result='Y', 1, 0)) AS valid,
|
SUM(IF(our_result='Y', 1, 0)) AS valid,
|
||||||
SUM(IF(our_result='N', 1, 0)) AS invalid,
|
SUM(IF(our_result='N', 1, 0)) AS invalid
|
||||||
FROM " . $this->share->getTableName() . " AS s,
|
FROM " . $this->share->getTableName() . " AS s,
|
||||||
" . $this->user->getTableName() . " AS u
|
" . $this->user->getTableName() . " AS u
|
||||||
WHERE
|
WHERE
|
||||||
@ -195,6 +195,7 @@ class Statistics {
|
|||||||
return $this->memcache->setCache(__FUNCTION__ . $account_id, $result->fetch_assoc());
|
return $this->memcache->setCache(__FUNCTION__ . $account_id, $result->fetch_assoc());
|
||||||
// Catchall
|
// Catchall
|
||||||
$this->debug->append("Unable to fetch user round shares: " . $this->mysqli->error);
|
$this->debug->append("Unable to fetch user round shares: " . $this->mysqli->error);
|
||||||
|
var_dump($this->debug);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user