Fix accidental change to SQL statement

This commit is contained in:
peterdamian
2017-11-20 10:47:26 -05:00
parent 41428a522f
commit 7f36e3580f

View File

@@ -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]);