smalos / nubuilder_dev

Inaccessible property PHP-W1067
Bug risk
Major
2 occurrences in this check
Access to an undefined property object::$primary_key
 159    if (!isset($f->table) || $f->table == '' || $R == '') {
 160        $A			= [];
 161    } else {
 162        $s	= "SELECT * FROM `$f->table` WHERE `$f->primary_key` = ?"; 163        $t	= nuRunQuery($s, [$R]);
 164        $A	= db_fetch_array($t);
 165    }
Access to an undefined property object::$sob_all_height
1602        if ($r->sob_all_type == 'textarea') {
1603            $oh = $r->sob_all_height + 16;
1604        } elseif (isset($r->sob_select_2) && $r->sob_select_2 == '1') {
1605            $oh = $r->sob_all_height + 13;1606        } else {
1607            $oh = $r->sob_all_height;
1608        }