diff --git a/Sources/Profile-Modify.php b/Sources/Profile-Modify.php index 001267064e..1af5354510 100644 --- a/Sources/Profile-Modify.php +++ b/Sources/Profile-Modify.php @@ -3496,6 +3496,7 @@ function profileSaveAvatarData(&$value) return false; require_once($sourcedir . '/ManageAttachments.php'); + require_once($sourcedir . '/Subs-Graphics.php'); call_integration_hook('before_profile_save_avatar', array(&$value)); diff --git a/Themes/default/Profile.template.php b/Themes/default/Profile.template.php index 00d613134d..f11a68ec38 100644 --- a/Themes/default/Profile.template.php +++ b/Themes/default/Profile.template.php @@ -2991,7 +2991,7 @@ function template_profile_avatar_select() echo '