]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Doesn't make any sense for elgg_format_attributes to default to an empty array...
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 20 Nov 2010 06:15:01 +0000 (06:15 +0000)
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 20 Nov 2010 06:15:01 +0000 (06:15 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@7355 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/lib/output.php

index 61db401a1a392c0eeb41ce59520574eac62c01d1..8df4bf0896c33b9b6b8202d23fdad8690d8ca469 100644 (file)
@@ -148,7 +148,7 @@ function elgg_format_url($url) {
  *
  * @return string HTML attributes to be inserted into a tag (e.g., <tag $attrs>)
  */
-function elgg_format_attributes(array $attrs = array()) {
+function elgg_format_attributes(array $attrs) {
        $attrs = elgg_clean_vars($attrs);
        $attributes = array();