@@ -16,8 +16,7 @@ |
||
| 16 | 16 | |
| 17 | 17 | if ($lien[1] == "page") { |
| 18 | 18 | $dbc->update("ordre", $i+1)->from("navigation")->where("ID_page", "=", $lien[0])->set(); |
| 19 | - } |
|
| 20 | - else { |
|
| 19 | + } else { |
|
| 21 | 20 | $dbc->update("ordre", $i+1)->from("navigation")->where("ID_module", "=", $lien[0])->set(); |
| 22 | 21 | } |
| 23 | 22 | } |