Skip to content
Snippets Groups Projects
Commit 6c9dc8aa authored by Rodolphe Quiedeville's avatar Rodolphe Quiedeville
Browse files

Modif permissions

parent a86d1670
No related branches found
No related tags found
No related merge requests found
......@@ -25,8 +25,7 @@ require("./pre.inc.php");
* Scurit accs client
*/
if (!$user->rights->telephonie->lire) accessforbidden();
if ($user->societe_id > 0) accessforbidden();
if (!$user->rights->telephonie->ca->lire) accessforbidden();
llxHeader('','Telephonie - Ratio fournisseur');
......@@ -66,7 +65,7 @@ if ($resql)
while ($i < min($num,$conf->liste_limit))
{
$row = $db->fetch_row($i);
$row = $db->fetch_row($resql);
$var=!$var;
print "<tr $bc[$var]>";
......@@ -78,7 +77,7 @@ if ($resql)
$i++;
}
print "</table>";
$db->free();
$db->free($resql);
}
else
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment