Author: david
Date: Thu Sep 24 13:35:52 2009
New Revision: 3504

Log:
Prevent notice by adding new QubitPorperty object for null RAD fields.

Modified:
   trunk/apps/qubit/modules/informationobject/actions/editRadAction.class.php

Modified: 
trunk/apps/qubit/modules/informationobject/actions/editRadAction.class.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/actions/editRadAction.class.php  
Thu Sep 24 13:22:01 2009        (r3503)
+++ trunk/apps/qubit/modules/informationobject/actions/editRadAction.class.php  
Thu Sep 24 13:35:52 2009        (r3504)
@@ -117,6 +117,10 @@
           $this[$name] = $query[0];
           $this->form->setDefault($name, $this[$name]->value);
         }
+        else
+        {
+          $this[$name] = new QubitProperty;
+        }
 
         $this->form->setValidator($name, new sfValidatorString);
         $this->form->setWidget($name, new sfWidgetFormInput);

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to