aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-07-06 10:37:26 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-07-06 10:37:26 +0000
commit288e06424b4c375c285d8fff34f9eb7f1b251a1e (patch)
tree8a8f3f4762d68e2332d4b284be9899355c39d714 /engine/lib/entities.php
parent59e7178d02749f2e2dff1a3fa785249b85faee6f (diff)
downloadelgg-288e06424b4c375c285d8fff34f9eb7f1b251a1e.tar.gz
elgg-288e06424b4c375c285d8fff34f9eb7f1b251a1e.tar.bz2
Closes #742: Ability to retrieve master icon from getIcon() interface.
git-svn-id: https://code.elgg.org/elgg/trunk@3386 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/entities.php')
-rw-r--r--engine/lib/entities.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index 42f131c8b..a3f623b55 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -2138,7 +2138,8 @@
$size = sanitise_string($size);
switch (strtolower($size))
{
- case 'master':
+ case 'master': $size = 'master'; break;
+
case 'large' : $size = 'large'; break;
case 'topbar' : $size = 'topbar'; break;