Explorar o código

Bug fix: n-n links with no attributes on the link were not managed properly.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@690 a333f486-631f-4898-b8df-5754b55c2be0
dflaven %!s(int64=15) %!d(string=hai) anos
pai
achega
2e3c265cd9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      application/ui.linkswidget.class.inc.php

+ 1 - 1
application/ui.linkswidget.class.inc.php

@@ -121,7 +121,7 @@ class UILinksWidget
 			$sNameSuffix = "]"; // To make a tabular form
 			$aArgs['prefix'] = $sPrefix;
 			$aRow['form::checkbox'] = "<input class=\"selection\" type=\"checkbox\" onChange=\"oWidget".self::$iWidgetIndex.".OnSelectChange();\" value=\"$linkObjOrId\">";
-			$aRow['form::checkbox'] .= "<input type=\"hidden\" name=\"attr_attr_{$sPrefix}id{$sNameSuffix}\" value=\"\">";
+			$aRow['form::checkbox'] .= "<input type=\"hidden\" name=\"attr_{$sPrefix}id{$sNameSuffix}\" value=\"\">";
 			foreach($this->m_aEditableFields as $sFieldCode)
 			{
 				$oAttDef = MetaModel::GetAttributeDef($this->m_sLinkedClass, $sFieldCode);