mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
Fix accidental change to SQL statement
This commit is contained in:
@@ -90,7 +90,7 @@ To create a mapper, inherit from the mapper base class and call the parent const
|
||||
|
||||
|
||||
public function authorNameCount($name) {
|
||||
$sql = 'SELECT COUNT(*) AS `count` FROM `PREFIXmyapp_authors` ' .
|
||||
$sql = 'SELECT COUNT(*) AS `count` FROM `*PREFIX*myapp_authors` ' .
|
||||
'WHERE `name` = ?';
|
||||
$stmt = $this->execute($sql, [$name]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user