Permalink
Browse files

Merge branch 'MDL-39452-m24' of git://github.com/sammarshallou/moodle…

… into MOODLE_24_STABLE
  • Loading branch information...
2 parents 0572012 + 442406d commit b5e41dac94f07a09ae1f7fbe1de4ab63b547e371 @stronk7 stronk7 committed May 7, 2013
Showing with 0 additions and 3 deletions.
  1. +0 −3 lib/outputcomponents.php
View
3 lib/outputcomponents.php
@@ -1108,9 +1108,6 @@ public static function nonempty_tag($tagname, $contents, array $attributes = nul
* @return string HTML fragment
*/
public static function attribute($name, $value) {
- if (is_array($value)) {
- debugging("Passed an array for the HTML attribute $name", DEBUG_DEVELOPER);
- }
if ($value instanceof moodle_url) {
return ' ' . $name . '="' . $value->out() . '"';
}

0 comments on commit b5e41da

Please sign in to comment.