|
@@ -10,7 +10,7 @@ class Fortune extends Base
|
|
*/
|
|
*/
|
|
public function getAll()
|
|
public function getAll()
|
|
{
|
|
{
|
|
- $sth = $this->pdo->prepare('SELECT * FROM Fortune ORDER BY Fortune.message');
|
|
|
|
|
|
+ $sth = $this->pdo->prepare('SELECT * FROM Fortune ORDER BY Fortune.message ASC');
|
|
$sth->execute();
|
|
$sth->execute();
|
|
|
|
|
|
return $sth->fetchAll(\PDO::FETCH_ASSOC);
|
|
return $sth->fetchAll(\PDO::FETCH_ASSOC);
|