mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-09 19:13:26 +00:00
Add typehints and reduce code duplication
This commit is contained in:
@@ -395,7 +395,7 @@ class recordutils_image
|
||||
return false;
|
||||
}
|
||||
|
||||
$pathIn = $subdef->get_path() . $subdef->get_file();
|
||||
$pathIn = $subdef->getRealPath();
|
||||
|
||||
if (!is_file($pathIn)) {
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user