<?php
/***************************************************************************
- * Copyright (C) 2003-2009 Polytechnique.org *
+ * Copyright (C) 2003-2010 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
}
global $globals;
- $res = XDB::query("SELECT stamp FROM requests
+ $res = XDB::query("SELECT stamp
+ FROM requests
WHERE type = 'paiements' AND data LIKE {?}",
PayReq::same_event($evt['eid'], $globals->asso('id')));
$page->assign('validation', $res->numRows());
$evt = $res->fetchOneAssoc();
// find out if there is already a request for a payment for this event
require_once 'validations.inc.php';
- $res = XDB::query("SELECT stamp FROM requests
- WHERE type = 'paiements' AND data LIKE {?}",
+ $res = XDB::query("SELECT stamp
+ FROM requests
+ WHERE type = 'paiements' AND data LIKE {?}",
PayReq::same_event($eid, $globals->asso('id')));
$stamp = $res->fetchOneCell();
if ($stamp) {