--- panels_node.module.orig	2009-04-30 22:09:58.000000000 +0200
+++ panels_node.module	2009-05-04 00:58:32.562500000 +0200
@@ -129,7 +129,7 @@ function panels_node_form(&$node, &$para
     // Grab our selected layout from the $node, If it doesn't exist, try arg(3)
     // and if that doesn't work present them with a list to pick from.
     $panel_layout = isset($node->panel_layout) ? $node->panel_layout : arg(3);
-    if (empty($panel_layout)) {
+    if (!isset($panel_layout)) {
       return drupal_goto('node/add/panel/choose-layout');
     }
 
