summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--panels.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/panels.module b/panels.module
index 4b4d326..df4fb52 100644
--- a/panels.module
+++ b/panels.module
@@ -1377,7 +1377,7 @@ function panels_node_type($op, $info) {
if ($op == 'update') {
if (!empty($info->old_type) && $info->old_type != $info->type) {
// Exclude a few common pane types that we know don't use context.
- $result = db_query("SELECT * FROM {panels_pane} WHERE type NOT IN ('block', 'custom'");
+ $result = db_query("SELECT * FROM {panels_pane} WHERE type NOT IN ('block', 'custom')");
while ($pane = db_fetch_object($result)) {
// Check the serialized data for the presence of context data.
if (!preg_match('/s:7:\"context/', $pane->configuration) || stripos($pane->configuration, 'node-' . $info->old_type) === FALSE) {