Commit 40564ff4 authored by Erma Safira Nurmasyita's avatar Erma Safira Nurmasyita
Browse files

[FIX] Minor bug in profile picture display

parent f5b469de
......@@ -75,7 +75,7 @@
return '/images/books_picture/default.jpg';
}
} else {
if ($input == "null") {
if ($input == "null" || $input == NULL || !fileProcessing::isExistProfileImage($input)) {
return '/images/profiles_picture/default.jpg';
} else {
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