Problème comparaison chaîne / entier

This commit is contained in:
Alexandre Alapetite
2013-12-26 22:39:13 +01:00
parent 43fd0a5439
commit 3cbcc9f1b3

View File

@@ -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;
}