From: x2003bruneau Date: Wed, 2 May 2007 16:46:34 +0000 (+0000) Subject: Fix cyberpaiement X-Git-Tag: xorg/0.9.14~23 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=aaa91e78d764c2558734758dbc0ab82f4cad45cf;p=platal.git Fix cyberpaiement git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.14@1793 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/modules/payment/money/cyberpaiement.inc.php b/modules/payment/money/cyberpaiement.inc.php index 79f9af8..3254114 100644 --- a/modules/payment/money/cyberpaiement.inc.php +++ b/modules/payment/money/cyberpaiement.inc.php @@ -55,6 +55,7 @@ class CyberPayment $name = $req->fetchOneCell(); // 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);