Browse Source

! Fixed the fix for bug 4890

emanuele 13 years ago
parent
commit
e54f81396e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Sources/Subs-Editor.php

+ 2 - 1
Sources/Subs-Editor.php

@@ -459,7 +459,8 @@ function html_to_bbc($text)
 		{
 			if ($s == 'size')
 			{
-				$v = empty((int) trim($v)) ? 1 : (int) trim($v);
+				$v = (int) trim($v);
+				$v = empty($v) ? 1 : $v;
 				$tags[] = array('[size=' . $sizes_equivalence[$v] . ']', '[/size]');
 			}
 			elseif ($s == 'face')