[FIX] Minor bug in profile picture display

parent f5b469de
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
return '/images/books_picture/default.jpg'; return '/images/books_picture/default.jpg';
} }
} else { } else {
if ($input == "null") { if ($input == "null" || $input == NULL || !fileProcessing::isExistProfileImage($input)) {
return '/images/profiles_picture/default.jpg'; return '/images/profiles_picture/default.jpg';
} else { } else {
return '/uploads/'.$input; return '/uploads/'.$input;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment