Index: trunk/phase3/includes/Xml.php |
— | — | @@ -43,7 +43,7 @@ |
44 | 44 | */ |
45 | 45 | public static function expandAttributes( $attribs ) { |
46 | 46 | $out = ''; |
47 | | - if( is_null( $attribs ) ) { |
| 47 | + if( empty( $attribs ) ) { |
48 | 48 | return null; |
49 | 49 | } elseif( is_array( $attribs ) ) { |
50 | 50 | foreach( $attribs as $name => $val ) |