aboutsummaryrefslogtreecommitdiff
path: root/phpBB
diff options
context:
space:
mode:
authorDSR! <xchwarze@gmail.com>2019-04-15 01:18:19 -0300
committerDSR! <xchwarze@gmail.com>2019-04-15 01:18:19 -0300
commitc631db62d59548c14dfd0861bdd09e3ffaa980f7 (patch)
tree82c122e14188038105bdb0ed8dffb7ef096d319f /phpBB
parent[ticket/16015] Add new hook core.ucp_profile_avatar_upload_validation (diff)
downloadphpbb-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.php2
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);