programs/utilit/agent_right.class.php 1 location
|
@@ 1100-1102 (lines=3) @@
|
1097 |
|
$access= false; |
1098 |
|
} |
1099 |
|
|
1100 |
|
if( $this->getDateEndValid() != '0000-00-00' && (bab_mktime($this->getDateEndValid()." 23:59:59") < mktime())){ |
1101 |
|
$access= false; |
1102 |
|
} |
1103 |
|
|
1104 |
|
return $access; |
1105 |
|
} |
programs/utilit/right.class.php 2 locations
|
@@ 743-745 (lines=3) @@
|
740 |
|
{ |
741 |
|
$access= true; |
742 |
|
|
743 |
|
if( $this->date_begin_valid != '0000-00-00' && (bab_mktime($this->date_begin_valid." 00:00:00") > mktime())){ |
744 |
|
$access= false; |
745 |
|
} |
746 |
|
|
747 |
|
if( $this->date_end_valid != '0000-00-00' && (bab_mktime($this->date_end_valid." 23:59:59") < mktime())){ |
748 |
|
$access= false; |
|
@@ 747-749 (lines=3) @@
|
744 |
|
$access= false; |
745 |
|
} |
746 |
|
|
747 |
|
if( $this->date_end_valid != '0000-00-00' && (bab_mktime($this->date_end_valid." 23:59:59") < mktime())){ |
748 |
|
$access= false; |
749 |
|
} |
750 |
|
|
751 |
|
return $access; |
752 |
|
} |