Browse Source

dont use deprecated method

euromark 11 years ago
parent
commit
9240f70551
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/View/Helper/FormatHelper.php

+ 1 - 1
src/View/Helper/FormatHelper.php

@@ -299,7 +299,7 @@ class FormatHelper extends TextHelper {
 			$t = isset($t['title']) ? $t['title'] : null; // deprecated
 		}
 
-		$type = extractPathInfo($icon, 'filename');
+		$type = pathinfo($icon, PATHINFO_FILENAME);
 
 		if (!$this->_config['fontIcons'] || !isset($this->_config['fontIcons'][$type])) {
 			$title = isset($t) ? $t : ucfirst($type);