Author: david
Date: Thu Nov 26 15:29:44 2009
New Revision: 3966
Log:
Save otherNames[] array when saving QubitObject.
Modified:
trunk/lib/model/QubitObject.php
Modified: trunk/lib/model/QubitObject.php
==============================================================================
--- trunk/lib/model/QubitObject.php Thu Nov 26 00:03:49 2009 (r3965)
+++ trunk/lib/model/QubitObject.php Thu Nov 26 15:29:44 2009 (r3966)
@@ -98,6 +98,20 @@
}
}
+ // Save updated other namnes
+ foreach ($this->otherNames as $otherName)
+ {
+ $otherName->object = $this;
+
+ try
+ {
+ $otherName->save();
+ }
+ catch (PropelException $e)
+ {
+ }
+ }
+
return $this;
}
--
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.com/group/qubit-commits?hl=en.