Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F2059
GlobalFunctions_array.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 8:31 PM
2014-11-21 20:31:37 (UTC+0)
Size
616 B
Referenced Files
None
Subscribers
None
GlobalFunctions_array.patch
View Options
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
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1636
Default Alt Text
GlobalFunctions_array.patch (616 B)
Attached To
Mode
T4334: Patch for missing (array) in line 1099 of GlobalFunctions.php
Attached
Detach File
Event Timeline
Log In to Comment