/[phpcompta]/phpcompta/include/class_user.php
ViewVC logotype

Diff of /phpcompta/include/class_user.php

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

revision 1.10 by sparkyx, Sun Jul 10 09:05:18 2005 UTC revision 1.11 by sparkyx, Wed Jul 27 16:32:05 2005 UTC
# Line 253  function GetPreferences () Line 253  function GetPreferences ()
253   */   */
254   function CheckAction ( $p_cn,$p_action_id)   function CheckAction ( $p_cn,$p_action_id)
255  {  {
256    
257    if ( $this->admin==1 ) return 1;    if ( $this->admin==1 ) return 1;
258    
259    $Res=ExecSql($p_cn,"select * from user_sec_act where ua_login='".$this->id."' and ua_act_id=$p_action_id");    $Res=ExecSql($p_cn,"select * from user_sec_act where ua_login='".$this->id."' and ua_act_id=$p_action_id");

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

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