Permalink
Browse files

utf8::clean() is now Input::clean()

  • Loading branch information...
1 parent e79e0d1 commit ddf668d43958e060f5aa4a14a4ef8dc8d2b51d2b @bharat bharat committed Nov 27, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 modules/exif/helpers/exif.php
@@ -39,7 +39,7 @@ static function extract($item) {
if (function_exists("mb_detect_encoding") && mb_detect_encoding($value) != "UTF-8") {
$value = utf8_encode($value);
}
- $keys[$field] = utf8::clean($value);
+ $keys[$field] = Input::clean($value);
if ($field == "DateTime") {
$time = strtotime($value);
@@ -62,7 +62,7 @@ static function extract($item) {
if (function_exists("mb_detect_encoding") && mb_detect_encoding($value) != "UTF-8") {
$value = utf8_encode($value);
}
- $keys[$keyword] = utf8::clean($value);
+ $keys[$keyword] = Input::clean($value);
if ($keyword == "Caption" && !$item->description) {
$item->description = $value;

0 comments on commit ddf668d

Please sign in to comment.