]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #3327 fixed typo
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Mon, 11 Apr 2011 12:00:35 +0000 (12:00 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Mon, 11 Apr 2011 12:00:35 +0000 (12:00 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8982 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/lib/output.php

index 8c2a3d50d9913f9cc38a49de6a892377e8d3461a..3f35a1576b051d1f59777e0c0041961eee79e2ac 100644 (file)
@@ -170,7 +170,7 @@ function elgg_format_attributes(array $attrs) {
                }
 
                // ignore $vars['entity'] => ElggEntity stuff
-               if (is_not_null($val) && (is_array($val) || !is_object($var))) {
+               if (is_not_null($val) && (is_array($val) || !is_object($val))) {
 
                        // allow $vars['class'] => array('one', 'two');
                        // @todo what about $vars['style']? Needs to be semi-colon separated...