fix missing parameter
This commit is contained in:
Родитель
f4fd7c4fca
Коммит
8c77c78be3
|
@ -44,6 +44,6 @@ class AccessMapper extends Mapper {
|
|||
*/
|
||||
public function findAll($limit=null, $offset=null) {
|
||||
$sql = 'SELECT * FROM `*PREFIX*polls_access`';
|
||||
return $this->findEntities($sql, $limit, $offset);
|
||||
return $this->findEntities($sql, [], $limit, $offset);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -44,7 +44,7 @@ class CommentMapper extends Mapper {
|
|||
*/
|
||||
public function findAll($limit=null, $offset=null) {
|
||||
$sql = 'SELECT * FROM `*PREFIX*polls_comments`';
|
||||
return $this->findEntities($sql, $limit, $offset);
|
||||
return $this->findEntities($sql, [], $limit, $offset);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -44,7 +44,7 @@ class DateMapper extends Mapper {
|
|||
*/
|
||||
public function findAll($limit=null, $offset=null) {
|
||||
$sql = 'SELECT * FROM `*PREFIX*polls_dts`';
|
||||
return $this->findEntities($sql, $limit, $offset);
|
||||
return $this->findEntities($sql, [], $limit, $offset);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -44,7 +44,7 @@ class EventMapper extends Mapper {
|
|||
*/
|
||||
public function findAll($limit=null, $offset=null) {
|
||||
$sql = 'SELECT * FROM `*PREFIX*polls_events`';
|
||||
return $this->findEntities($sql, $limit, $offset);
|
||||
return $this->findEntities($sql, [], $limit, $offset);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -44,7 +44,7 @@ class NotificationMapper extends Mapper {
|
|||
*/
|
||||
public function findAll($limit=null, $offset=null) {
|
||||
$sql = 'SELECT * FROM `*PREFIX*polls_notif`';
|
||||
return $this->findEntities($sql, $limit, $offset);
|
||||
return $this->findEntities($sql, [], $limit, $offset);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -49,7 +49,7 @@ class ParticipationMapper extends Mapper {
|
|||
*/
|
||||
public function findAll($limit=null, $offset=null) {
|
||||
$sql = 'SELECT * FROM `*PREFIX*polls_particip`';
|
||||
return $this->findEntities($sql, $limit, $offset);
|
||||
return $this->findEntities($sql, [], $limit, $offset);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -29,7 +29,7 @@ class TextMapper extends Mapper {
|
|||
*/
|
||||
public function findAll($limit=null, $offset=null) {
|
||||
$sql = 'SELECT * FROM `*PREFIX*polls_txts`';
|
||||
return $this->findEntities($sql, $limit, $offset);
|
||||
return $this->findEntities($sql, [], $limit, $offset);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче