RomanL 6 years ago
parent
commit
3cf649e4ea
2 changed files with 2 additions and 2 deletions
  1. 1 1
      inc/classes/BxDolFormQuery.php
  2. 1 1
      template/form_view_nested_row.html

+ 1 - 1
inc/classes/BxDolFormQuery.php

@@ -46,7 +46,7 @@ class BxDolFormQuery extends BxDolDb
         $oDb = BxDolDb::getInstance();
 
         $sQuery = $oDb->prepare("SELECT * FROM `sys_objects_form` WHERE `parent_form` = ?", $sParentObject);
-        return $oDb->fromMemory('sys_objects_form_' . $sObject, 'getAll', $sQuery);
+        return $oDb->fromMemory('sys_objects_form_' . $sParentObject, 'getAll', $sQuery);
     }
     
     static public function deleteDataFromNestedForm ($sTableName, $iContentId)

+ 1 - 1
template/form_view_nested_row.html

@@ -1,2 +1,2 @@
-<div class="bx-def-margin-leftright bx-def-margin-bottom">__value__</div>
+<div class="bx-def-margin-leftright bx-def-margin-sec-bottom">__value__</div>
 <div class="bx-db-divider bx-def-hr"></div>