Index: branches/RL2/extensions/Gadgets/backend/Gadget.php |
— | — | @@ -103,7 +103,7 @@ |
104 | 104 | |
105 | 105 | // Walk down and verify that the path from the root to this property exists |
106 | 106 | foreach ( $path as $p ) { |
107 | | - if ( !isset( $val[$p] ) ) { |
| 107 | + if ( !array_key_exists( $p, $val ) ) { |
108 | 108 | return Status::newFatal( 'gadgets-validate-notset', $property ); |
109 | 109 | } |
110 | 110 | $val = $val[$p]; |