|  | @@ 1415-1422 (lines=8) @@ | 
                                                            
                                    | 1412 |  | 			} | 
                                                            
                                    | 1413 |  |  | 
                                                            
                                    | 1414 |  |             foreach ( $group[ 'fields' ] as $field ) { | 
                                                            
                                    | 1415 |  |                 if ( false === PodsForm::permission( $field[ 'type' ], $field[ 'name' ], $field, $group[ 'fields' ], $pod, $id ) ) { | 
                                                            
                                    | 1416 |  |                     if ( pods_var( 'hidden', $field[ 'options' ], false ) ) | 
                                                            
                                    | 1417 |  |                         $field[ 'type' ] = 'hidden'; | 
                                                            
                                    | 1418 |  |                     else | 
                                                            
                                    | 1419 |  |                         continue; | 
                                                            
                                    | 1420 |  |                 } | 
                                                            
                                    | 1421 |  |                 elseif ( !pods_has_permissions( $field[ 'options' ] ) && pods_var( 'hidden', $field[ 'options' ], false ) ) | 
                                                            
                                    | 1422 |  |                     $field[ 'type' ] = 'hidden'; | 
                                                            
                                    | 1423 |  |  | 
                                                            
                                    | 1424 |  |                 $value = ''; | 
                                                            
                                    | 1425 |  |  | 
                                                                                
                                |  | @@ 1602-1609 (lines=8) @@ | 
                                                            
                                    | 1599 |  |             <?php | 
                                                            
                                    | 1600 |  |                 foreach ( $group[ 'fields' ] as $field ) { | 
                                                            
                                    | 1601 |  |  | 
                                                            
                                    | 1602 |  |                     if ( false === PodsForm::permission( $field[ 'type' ], $field[ 'name' ], $field, $group[ 'fields' ], $pod, $id ) ) { | 
                                                            
                                    | 1603 |  |                         if ( pods_var( 'hidden', $field[ 'options' ], false ) ) | 
                                                            
                                    | 1604 |  |                             $field[ 'type' ] = 'hidden'; | 
                                                            
                                    | 1605 |  |                         else | 
                                                            
                                    | 1606 |  |                             continue; | 
                                                            
                                    | 1607 |  |                     } | 
                                                            
                                    | 1608 |  |                     elseif ( !pods_has_permissions( $field[ 'options' ] ) && pods_var( 'hidden', $field[ 'options' ], false ) ) | 
                                                            
                                    | 1609 |  |                         $field[ 'type' ] = 'hidden'; | 
                                                            
                                    | 1610 |  |  | 
                                                            
                                    | 1611 |  |                     $value = ''; | 
                                                            
                                    | 1612 |  |  | 
                                                                                
                                |  | @@ 1782-1789 (lines=8) @@ | 
                                                            
                                    | 1779 |  | 			} | 
                                                            
                                    | 1780 |  |  | 
                                                            
                                    | 1781 |  |             foreach ( $group[ 'fields' ] as $field ) { | 
                                                            
                                    | 1782 |  |                 if ( false === PodsForm::permission( $field[ 'type' ], $field[ 'name' ], $field, $group[ 'fields' ], $pod, $id ) ) { | 
                                                            
                                    | 1783 |  |                     if ( pods_var( 'hidden', $field[ 'options' ], false ) ) | 
                                                            
                                    | 1784 |  |                         $field[ 'type' ] = 'hidden'; | 
                                                            
                                    | 1785 |  |                     else | 
                                                            
                                    | 1786 |  |                         continue; | 
                                                            
                                    | 1787 |  |                 } | 
                                                            
                                    | 1788 |  |                 elseif ( !pods_has_permissions( $field[ 'options' ] ) && pods_var( 'hidden', $field[ 'options' ], false ) ) | 
                                                            
                                    | 1789 |  |                     $field[ 'type' ] = 'hidden'; | 
                                                            
                                    | 1790 |  |  | 
                                                            
                                    | 1791 |  |                 $value = ''; | 
                                                            
                                    | 1792 |  |  | 
                                                                                
                                |  | @@ 1847-1854 (lines=8) @@ | 
                                                            
                                    | 1844 |  |  | 
                                                            
                                    | 1845 |  |             foreach ( $group[ 'fields' ] as $field ) { | 
                                                            
                                    | 1846 |  |  | 
                                                            
                                    | 1847 |  |                 if ( false === PodsForm::permission( $field[ 'type' ], $field[ 'name' ], $field, $group[ 'fields' ], $pod, $id ) ) { | 
                                                            
                                    | 1848 |  |                     if ( pods_var( 'hidden', $field[ 'options' ], false ) ) | 
                                                            
                                    | 1849 |  |                         $field[ 'type' ] = 'hidden'; | 
                                                            
                                    | 1850 |  |                     else | 
                                                            
                                    | 1851 |  |                         continue; | 
                                                            
                                    | 1852 |  |                 } | 
                                                            
                                    | 1853 |  |                 elseif ( !pods_has_permissions( $field[ 'options' ] ) && pods_var( 'hidden', $field[ 'options' ], false ) ) | 
                                                            
                                    | 1854 |  |                     $field[ 'type' ] = 'hidden'; | 
                                                            
                                    | 1855 |  |  | 
                                                            
                                    | 1856 |  |                 $value = ''; | 
                                                            
                                    | 1857 |  |  | 
                                                                                
                                |  | @@ 1971-1978 (lines=8) @@ | 
                                                            
                                    | 1968 |  |             $pod = self::$current_pod; | 
                                                            
                                    | 1969 |  |  | 
                                                            
                                    | 1970 |  |             foreach ( $metabox[ 'args' ][ 'group' ][ 'fields' ] as $field ) { | 
                                                            
                                    | 1971 |  |                 if ( false === PodsForm::permission( $field[ 'type' ], $field[ 'name' ], $field, $metabox[ 'args' ][ 'group' ][ 'fields' ], $pod, $id ) ) { | 
                                                            
                                    | 1972 |  |                     if ( pods_var( 'hidden', $field[ 'options' ], false ) ) | 
                                                            
                                    | 1973 |  |                         $field[ 'type' ] = 'hidden'; | 
                                                            
                                    | 1974 |  |                     else | 
                                                            
                                    | 1975 |  |                         continue; | 
                                                            
                                    | 1976 |  |                 } | 
                                                            
                                    | 1977 |  |                 elseif ( !pods_has_permissions( $field[ 'options' ] ) && pods_var( 'hidden', $field[ 'options' ], false ) ) | 
                                                            
                                    | 1978 |  |                     $field[ 'type' ] = 'hidden'; | 
                                                            
                                    | 1979 |  |  | 
                                                            
                                    | 1980 |  |                 $value = ''; | 
                                                            
                                    | 1981 |  |  |