cvs diff: Diffing .
Index: panels_node_content.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/panels/panels_node_content/panels_node_content.module,v
retrieving revision 1.4.2.2
diff -u -p -r1.4.2.2 panels_node_content.module
--- panels_node_content.module  5 Oct 2008 22:14:56 -0000       1.4.2.2
+++ panels_node_content.module  25 Jan 2009 09:42:45 -0000
@@ -188,12 +188,12 @@ function panels_node_content_edit($id, $
 /**
  * Validate a node.
  */
-function panels_node_content_edit_validate($form, &$form_state) {
-  if (!$form_state['values']['validate_me']) {
+function panels_node_content_edit_validate($form, &$form_values) {
+  if (!$form_values['validate_me']) {
     return;
   }
 
-  $nid = $form_state['values']['nid'];
+  $nid = $form_values['nid'];
   $preg_matches = array();
   $match = preg_match('/\[nid: (\d+)\]/', $nid, $preg_matches);
   if (!$match) {
@@ -210,7 +210,7 @@ function panels_node_content_edit_valida
     $node = db_fetch_object(db_query(db_rewrite_sql("SELECT n.nid FROM {node} n WHERE LOWER(n.title) = LOWER('%s')"), $nid));
   }
   if ($node) {
-    $form_state['values']['nid'] = $node->nid;
+    $form_values['nid'] = $node->nid;
   }
 
   if (!($node || preg_match('/^[@%]\d+$/', $nid))) {

