<?php
/***************************************************************************
- * Copyright (C) 2003-2007 Polytechnique.org *
+ * Copyright (C) 2003-2008 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
{
$val = iconv('UTF-8', $charset, $val);
$to_hash .= $val;
- return '&' . $name . '=' . $val;
+ return '&' . $name . '=' . urlencode($val);
}
function gpex_make($chlg, $privkey, $datafields, $charset)
if (isset($_GET['group'])) {
$res = XDB::query("SELECT perms
FROM groupex.membres
- INNER JOIN groupex.asso ON(id = asso_id)
+ INNER JOIN groupex.asso ON(id = asso_id)
WHERE uid = {?} AND diminutif = {?}",
S::v('uid'), $_GET['group']);
$perms = $res->fetchOneCell();