Plugin : fix indent
This commit is contained in:
parent
2486a831aa
commit
83ffaf726b
1 changed files with 5 additions and 5 deletions
|
|
@ -76,11 +76,11 @@ class Extension extends Menu_Ref_sql
|
|||
function can_request($p_login)
|
||||
{
|
||||
$cnt=$this->cn->get_value("select count(*) from menu_ref
|
||||
join profile_menu using (me_code)
|
||||
join profile_user using (p_id)
|
||||
where
|
||||
me_code=$1
|
||||
and user_name=$2", array($this->me_code, $p_login));
|
||||
join profile_menu using (me_code)
|
||||
join profile_user using (p_id)
|
||||
where
|
||||
me_code=$1
|
||||
and user_name=$2", array($this->me_code, $p_login));
|
||||
if ($cnt>0)
|
||||
return 1;
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue