Skip to:
Content

BuddyPress.org

Changeset 844


Ignore:
Timestamp:
01/13/2009 11:07:39 PM (17 years ago)
Author:
apeatling
Message:

Fixes #265

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-avatars.php

    r833 r844  
    157157            bp_core_ap_die('Error when cropping, please go back and try again');
    158158       
    159         if ( !$result = bp_core_avatar_cropstore( $_POST['orig'], $_POST['canvas'], $_POST['v1_x1'], $_POST['v1_y1'], $_POST['v1_w'], $_POST['v1_h'], $_POST['v2_x1'], $_POST['v2_y1'], $_POST['v2_w'], $_POST['v2_h'] ) )
     159        if ( !$result = bp_core_avatar_cropstore( stripslashes($_POST['orig']), $_POST['canvas'], $_POST['v1_x1'], $_POST['v1_y1'], $_POST['v1_w'], $_POST['v1_h'], $_POST['v2_x1'], $_POST['v2_y1'], $_POST['v2_w'], $_POST['v2_h'] ) )
    160160            bp_core_ap_die('Error when saving avatars, please go back and try again.');
    161161       
Note: See TracChangeset for help on using the changeset viewer.