phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-developers] found a little bug ?


From: Pascal Vilarem
Subject: [Phpgroupware-developers] found a little bug ?
Date: Mon, 01 Sep 2003 10:08:32 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.4) Gecko/20030624

Hi list,

i'm using two versions of phpGW (xxx14.005 and xxx14.006)
in both i found the following "bug" in function search of api class nextmatchs (line 444):

$s_query        = stripslashes($params['query']);

i think it would be better if written
$_query = stripslashes($params['query']);

because $_query is used later in the function while
$s_query is not.

the result is that developers need to use global $_query
instead of passing query through $search_obj in nextmatchs->show_tpl()
parameters.


Question 1 : is this really a bug ? (i'm far too newbie to be sure of what i'm saying)

Question 2 : (if it is one...) does it exist also in xxx16 ?

Question 3 : (same as above) what is the correct way for me to submit this ?

grtx.
Pascal.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]