mirror of
https://github.com/Karaka-Management/oms-Navigation.git
synced 2026-02-14 07:48:41 +00:00
Fix tests/coverage
This commit is contained in:
parent
168974f2a1
commit
d406d9f6b6
|
|
@ -98,8 +98,6 @@ class Navigation
|
||||||
->orderBy('nav.nav_order', 'ASC')
|
->orderBy('nav.nav_order', 'ASC')
|
||||||
->execute();
|
->execute();
|
||||||
|
|
||||||
$qry = $query->toSql();
|
|
||||||
|
|
||||||
$tempNav = $sth->fetchAll(\PDO::FETCH_GROUP);
|
$tempNav = $sth->fetchAll(\PDO::FETCH_GROUP);
|
||||||
|
|
||||||
foreach ($tempNav as $id => $link) {
|
foreach ($tempNav as $id => $link) {
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ class NavigationView extends View
|
||||||
* @var int
|
* @var int
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected $navId = null;
|
protected $navId = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Navigation.
|
* Navigation.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user