diff options
author | 2019-04-15 01:18:19 -0300 | |
---|---|---|
committer | 2019-04-15 01:18:19 -0300 | |
commit | c631db62d59548c14dfd0861bdd09e3ffaa980f7 (patch) | |
tree | 82c122e14188038105bdb0ed8dffb7ef096d319f /phpBB | |
parent | [ticket/16015] Add new hook core.ucp_profile_avatar_upload_validation (diff) | |
download | phpbb-c631db62d59548c14dfd0861bdd09e3ffaa980f7.tar.gz phpbb-c631db62d59548c14dfd0861bdd09e3ffaa980f7.tar.bz2 phpbb-c631db62d59548c14dfd0861bdd09e3ffaa980f7.zip |
[ticket/16015] Add new hook core.ucp_profile_avatar_upload_validation
PHPBB3-16015
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/phpbb/avatar/driver/remote.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/phpbb/avatar/driver/remote.php b/phpBB/phpbb/avatar/driver/remote.php index 69402f39b2..a5d0cefe7a 100644 --- a/phpBB/phpbb/avatar/driver/remote.php +++ b/phpBB/phpbb/avatar/driver/remote.php @@ -49,6 +49,8 @@ class remote extends \phpbb\avatar\driver\driver */ public function process_form($request, $template, $user, $row, &$error) { + global $phpbb_dispatcher; + $url = $request->variable('avatar_remote_url', ''); $width = $request->variable('avatar_remote_width', 0); $height = $request->variable('avatar_remote_height', 0); |