|
@@ 856-859 (lines=4) @@
|
| 853 |
|
|
| 854 |
|
$pod = array_merge( $defaults, (array) $pod ); |
| 855 |
|
|
| 856 |
|
if ( empty( $pod['name'] ) ) { |
| 857 |
|
$pod['name'] = $pod['object']; |
| 858 |
|
} elseif ( empty( $pod['object'] ) ) { |
| 859 |
|
$pod['object'] = $pod['name']; |
| 860 |
|
} |
| 861 |
|
|
| 862 |
|
if ( $pod['type'] != $type ) { |
|
@@ 919-922 (lines=4) @@
|
| 916 |
|
|
| 917 |
|
$pod = array_merge( $defaults, (array) $pod ); |
| 918 |
|
|
| 919 |
|
if ( empty( $pod['name'] ) ) { |
| 920 |
|
$pod['name'] = $pod['object']; |
| 921 |
|
} elseif ( empty( $pod['object'] ) ) { |
| 922 |
|
$pod['object'] = $pod['name']; |
| 923 |
|
} |
| 924 |
|
|
| 925 |
|
if ( $pod['type'] != $type ) { |