aboutsummaryrefslogtreecommitdiff
path: root/app/layout
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-26 22:39:13 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-26 22:39:13 +0100
commit3cbcc9f1b3c7b93b85c951a005f205fdab8d475e (patch)
tree762bcbb504afdc83f95d11fae0e4bb565e301afe /app/layout
parent43fd0a543900866f4feaf0713e1726b98a60b22d (diff)
Problème comparaison chaîne / entier
Diffstat (limited to 'app/layout')
-rw-r--r--app/layout/nav_menu.phtml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/layout/nav_menu.phtml b/app/layout/nav_menu.phtml
index 045f391f9..1f2a7b408 100644
--- a/app/layout/nav_menu.phtml
+++ b/app/layout/nav_menu.phtml
@@ -25,7 +25,7 @@
switch ($get[0]) {
case 'c':
foreach ($this->cat_aside as $cat) {
- if ($cat->id () === $this->get_c) {
+ if ($cat->id () == $this->get_c) {
$foundCurrent = true;
continue;
}
@@ -37,9 +37,9 @@
break;
case 'f':
foreach ($this->cat_aside as $cat) {
- if ($cat->id () === $this->get_c) {
+ if ($cat->id () == $this->get_c) {
foreach ($cat->feeds () as $feed) {
- if ($feed->id () === $this->get_f) {
+ if ($feed->id () == $this->get_f) {
$foundCurrent = true;
continue;
}