Fehler im Backend-Modul behoben.
This commit is contained in:
parent
b1934458fd
commit
8cc7a80182
@ -633,13 +633,9 @@ class rateitBackendModule extends \BackendModule
|
|||||||
|
|
||||||
$cntSql = str_replace('%s', $where, $cntSql);
|
$cntSql = str_replace('%s', $where, $cntSql);
|
||||||
|
|
||||||
$count = $this->Database->prepare($cntSql)
|
$count = $this->Database->query($cntSql)->fetchRow();
|
||||||
->execute()
|
|
||||||
->fetchRow();
|
|
||||||
|
|
||||||
$arrRatingItems = $this->Database->prepare($sql)
|
$arrRatingItems = $this->Database->query($sql)->fetchAllAssoc();
|
||||||
->execute()
|
|
||||||
->fetchAllAssoc();
|
|
||||||
$arrReturn = array();
|
$arrReturn = array();
|
||||||
foreach ($arrRatingItems as $rating) {
|
foreach ($arrRatingItems as $rating) {
|
||||||
if ($rating['active'] != '1') $rating['active'] = '0';
|
if ($rating['active'] != '1') $rating['active'] = '0';
|
||||||
|
Loading…
Reference in New Issue
Block a user