diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-01-22 09:10:59 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-01-22 09:10:59 +0000 |
commit | 42e7e7d5191b8107c8a6c0cd389db0d7e7efdb6e (patch) | |
tree | cfde2066e620e6ec3f609dd08ca633a35f724dba | |
parent | df3b371853e6a990405483b5ce98f6402b7631b3 (diff) | |
download | brdo-42e7e7d5191b8107c8a6c0cd389db0d7e7efdb6e.tar.gz brdo-42e7e7d5191b8107c8a6c0cd389db0d7e7efdb6e.tar.bz2 |
- Small clean-up: '>= 1' => '> 0' => ''.
-rw-r--r-- | includes/menu.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/menu.inc b/includes/menu.inc index 490558d4e..1a3a0f9bf 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -532,7 +532,7 @@ function menu_rebuild() { } } - if (count($new_items) > 0) { + if (count($new_items)) { foreach ($new_items as $item) { db_query('INSERT INTO {menu} (mid, pid, path, title, description, weight, type) VALUES (%d, %d, \'%s\', \'%s\', \'%s\', %d, %d)', $item['mid'], $item['pid'], $item['path'], $item['title'], $item['description'], $item['weight'], $item['type']); } |