Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php |
— | — | @@ -862,7 +862,7 @@ |
863 | 863 | public static function fnPayflowEditToken( $salt='' ) { |
864 | 864 | |
865 | 865 | // make sure we have a session open for tracking a CSRF-prevention token |
866 | | - $this->fnPayflowEnsureSession(); |
| 866 | + self::fnPayflowEnsureSession(); |
867 | 867 | |
868 | 868 | if ( !isset( $_SESSION[ 'payflowEditToken' ] )) { |
869 | 869 | //generate unsalted token to place in the session |
— | — | @@ -918,7 +918,7 @@ |
919 | 919 | * If we do not have a session set for the current user, |
920 | 920 | * start the session. |
921 | 921 | */ |
922 | | - public function fnPayflowEnsureSession() { |
| 922 | + public static function fnPayflowEnsureSession() { |
923 | 923 | // if the session is already started, do nothing |
924 | 924 | if ( session_id() ) return; |
925 | 925 | |