Skip to content
Snippets Groups Projects
Commit 83b9366a authored by Earl Miles's avatar Earl Miles
Browse files

#366551: Missing {} around table name.

parent 673cfd68
No related branches found
No related tags found
No related merge requests found
...@@ -493,7 +493,7 @@ function delegator_page_form_basic_validate(&$form, &$form_state) { ...@@ -493,7 +493,7 @@ function delegator_page_form_basic_validate(&$form, &$form_state) {
} }
$path = implode('/', $path); $path = implode('/', $path);
$result = db_query("SELECT * FROM menu_router WHERE path = '%s'", $path); $result = db_query("SELECT * FROM {menu_router} WHERE path = '%s'", $path);
while ($router = db_fetch_object($result)) { while ($router = db_fetch_object($result)) {
if ($router->page_callback != 'delegator_page_execute') { if ($router->page_callback != 'delegator_page_execute') {
form_error($form['path'], t('That path is already in used. This system cannot override existing paths.')); form_error($form['path'], t('That path is already in used. This system cannot override existing paths.'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment