# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: Joomla root # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. --- components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php +++ components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php @@ -2575,7 +2575,7 @@ if ( ( $col == 'avatar' ) && ( $ueConfig['avatarUploadApproval'] == 1 ) && ( $isModerator == 0 ) ) { $cbNotification = new cbNotification(); - $cbNotification->sendToModerators( _UE_IMAGE_ADMIN_SUB, _UE_IMAGE_ADMIN_MSG ); \ No newline at end of file + $cbNotification->sendToModerators( cbReplaceVars( _UE_IMAGE_ADMIN_SUB, $user ), cbReplaceVars( _UE_IMAGE_ADMIN_MSG, $user ) ); \ No newline at end of file $user->$col = $newFileName; $user->$colapproved = 0;