summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEarl Miles2008-10-07 21:39:02 (GMT)
committerEarl Miles2008-10-07 21:39:02 (GMT)
commit80bdc8f253c37648d8ef2dc5ae25f91dbb307745 (patch)
treeeb13795609f2d77ae192fcb66eb7210ea997e900
parent62a8b60b99931137fc92fe572b88470dd26aaab4 (diff)
Fix typo
-rw-r--r--panels_page/panels_page.read.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/panels_page/panels_page.read.inc b/panels_page/panels_page.read.inc
index 36fda4a..fc4b0cd 100644
--- a/panels_page/panels_page.read.inc
+++ b/panels_page/panels_page.read.inc
@@ -75,8 +75,8 @@ function panels_page_load($id, $load_display = FALSE) {
}
$where = is_numeric($id) ? 'pid = %d' : "name = '%s'";
- $page = db_fetch_object(db_query("SELECT * FROM {panels_page} WHERE $where", $id);
-
+ $page = db_fetch_object(db_query("SELECT * FROM {panels_page} WHERE $where", $id));
+
if (!$page) {
$defaults = panels_page_default_panels();
if (isset($defaults[$id])) {