From: x2003bruneau Date: Tue, 1 May 2007 22:03:26 +0000 (+0000) Subject: Import [1789] X-Git-Tag: xorg/0.9.14~24 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=326cdc328cb4cee587c47d4535a42cbd00dea199;p=platal.git Import [1789] git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.14@1790 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/modules/payment/money/paypal.inc.php b/modules/payment/money/paypal.inc.php index 0591313..acd9adc 100644 --- a/modules/payment/money/paypal.inc.php +++ b/modules/payment/money/paypal.inc.php @@ -89,6 +89,7 @@ class PayPal $this->infos['client'] = array_merge($info_client, $res->fetchOneAssoc()); // on constuit la reference de la transaction + require_once 'xorg.misc.inc.php'; $prefix = ($pay->flags->hasflag('unique')) ? str_pad("",15,"0") : rand_url_id(); $fullref = substr("$prefix-xorg-{$pay->id}",-15);