Index: trunk/kernel/action.php =================================================================== diff -u -N -r3282 -r3295 --- trunk/kernel/action.php (.../action.php) (revision 3282) +++ trunk/kernel/action.php (.../action.php) (revision 3295) @@ -709,8 +709,9 @@ if($NewId > 0) $NewId = 0; $NewId--; + $priority = (int)GetVar('priority'); $r = $RelList->Add($_POST["SourceId"],$_POST["SourceType"],$_POST["TargetId"],$_POST["TargetType"], - 0,(int)$_POST["Enabled"],$_POST["RelType"], $NewId); + $priority,(int)$_POST["Enabled"],$_POST["RelType"], $NewId); $sql = "UPDATE ".$RelList->SourceTable." SET RelationshipId=".$NewId." WHERE RelationshipId=".$r->Get("RelationshipId"); if($objSession->HasSystemPermission("DEBUG.LIST"))