mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 11:29:24 -04:00
utf8::clean() is now Input::clean()
This commit is contained in:
@@ -39,7 +39,7 @@ class exif_Core {
|
||||
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 @@ class exif_Core {
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user