Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
AgelxNash committed Feb 6, 2019
1 parent 1e483b5 commit a12920f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/model/modx/moduser.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ public function getProfilePhoto($width = 128, $height = 128) {
$path = $source->prepareSrcForThumb($this->Profile->photo);

return $this->xpdo->getOption('connectors_url', null, MODX_CONNECTORS_URL)
. "system/phpthumb.php?zc=1&h={$height}&w={$width}&src={$path}";
. "system/phpthumb.php?" . http_build_query(array("zc" => 1, "h" => $height, "w" => $width, "src" => $path));
}

/**
Expand Down

0 comments on commit a12920f

Please sign in to comment.