From: ewinslow Date: Sat, 20 Nov 2010 06:15:01 +0000 (+0000) Subject: Doesn't make any sense for elgg_format_attributes to default to an empty array... X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=41f2f30040697cadc1d4759c9d2e6689bc26e788;p=lorea%2Felgg.git Doesn't make any sense for elgg_format_attributes to default to an empty array... git-svn-id: http://code.elgg.org/elgg/trunk@7355 36083f99-b078-4883-b0ff-0f9b5a30f544 --- diff --git a/engine/lib/output.php b/engine/lib/output.php index 61db401a1..8df4bf089 100644 --- a/engine/lib/output.php +++ b/engine/lib/output.php @@ -148,7 +148,7 @@ function elgg_format_url($url) { * * @return string HTML attributes to be inserted into a tag (e.g., ) */ -function elgg_format_attributes(array $attrs = array()) { +function elgg_format_attributes(array $attrs) { $attrs = elgg_clean_vars($attrs); $attributes = array();