Page MenuHomePhabricator

GlobalFunctions_array.patch

Authored By
bzimport
Nov 21 2014, 8:31 PM
Size
616 B
Referenced Files
None
Subscribers
None

GlobalFunctions_array.patch

diff -uNr phase3/includes/GlobalFunctions.php ../htdocs/admin/wiki/includes/GlobalFunctions.php
--- phase3/includes/GlobalFunctions.php 2005-06-01 07:17:42.000000000 +0100
+++ ../htdocs/admin/wiki/includes/GlobalFunctions.php 2005-06-05 14:40:20.000000000 +0100
@@ -1096,7 +1096,7 @@
*/
function wfElement( $element, $attribs = array(), $contents = '') {
$out = '<' . $element;
- foreach( $attribs as $name => $val ) {
+ foreach( (array)$attribs as $name => $val ) {
$out .= ' ' . $name . '="' . htmlspecialchars( $val ) . '"';
}
if( is_null( $contents ) ) {

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1636
Default Alt Text
GlobalFunctions_array.patch (616 B)

Event Timeline