r4133 - trunk/plugins/ullCorePlugin/lib/form

0 views
Skip to first unread message

s...@ull.at

unread,
Aug 5, 2014, 3:40:33 AM8/5/14
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))
{

Reply all
Reply to author
Forward
0 new messages