s...@ull.at
unread,Aug 5, 2014, 3:40:33 AM8/5/14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ullrigh...@googlegroups.com
Author: klemens
Date: 2014-08-05 09:40:31 +0200 (Tue, 05 Aug 2014)
New Revision: 4133
Modified:
trunk/plugins/ullCorePlugin/lib/form/ullGeneratorForm.class.php
Log:
Added comment
Modified: trunk/plugins/ullCorePlugin/lib/form/ullGeneratorForm.class.php
===================================================================
--- trunk/plugins/ullCorePlugin/lib/form/ullGeneratorForm.class.php 2014-08-05 07:40:19 UTC (rev 4132)
+++ trunk/plugins/ullCorePlugin/lib/form/ullGeneratorForm.class.php 2014-08-05 07:40:31 UTC (rev 4133)
@@ -166,6 +166,7 @@
$eval = '$value = @$this->getObject()->' . $column . ';';
eval($eval);
+ // Force "inject identifier" for relation default values ?!?
$defaults[$fieldName] = array('value' => $value, 'id' => $id);
}
@@ -191,7 +192,6 @@
&& $this->columnsConfig[$fieldName]->getInjectIdentifier()
)
{
-
//TODO: why do we need a default to inject the identifier?
if (array_key_exists($fieldName, $defaults))
{