fix typo
This commit is contained in:
parent
e8c58e8c15
commit
a252dc05e6
1 changed files with 1 additions and 1 deletions
|
@ -327,7 +327,7 @@ class MainController extends AppController {
|
|||
$page = intval($this->request->query('page'));
|
||||
|
||||
$conn = ConnectionManager::get('default');
|
||||
$stmt = $conn->execute('SELECT height AS Total FROM block oder by id desc limit 1');
|
||||
$stmt = $conn->execute('SELECT height AS Total FROM block order by id desc limit 1');
|
||||
$count = $stmt->fetch(\PDO::FETCH_OBJ);
|
||||
$numBlocks = $count->Total;
|
||||
|
||||
|
|
Loading…
Reference in a new issue