/[dolibarr]/dolibarr/htdocs/telephonie/distributeurs/pre.inc.php
ViewVC logotype

Diff of /dolibarr/htdocs/telephonie/distributeurs/pre.inc.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by rodolphe, Fri Sep 2 14:08:49 2005 UTC revision 1.8 by rodolphe, Thu Sep 8 10:31:32 2005 UTC
# Line 37  if ($resql) Line 37  if ($resql)
37    $user->distributeur_id = $row[0];    $user->distributeur_id = $row[0];
38  }  }
39    
40    $sql = "SELECT fk_distributeur";
41    $sql .= " FROM ".MAIN_DB_PREFIX."telephonie_distributeur_responsable";
42    $sql .= " WHERE fk_user=".$user->id;
43    
44    $resql = $db->query($sql);
45    if ($resql)
46    {
47      $row = $db->fetch_row($resql);
48      $user->responsable_distributeur_id = $row[0];
49    }
50    
51  function llxHeader($head = "", $title="") {  function llxHeader($head = "", $title="") {
52    global $user, $conf, $db;    global $user, $conf, $db;

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26