Fix phpcs
This commit is contained in:
parent
8e0a663b7c
commit
aeb5f5e4f3
@ -276,7 +276,7 @@ function GETPOSTISSET($paramname)
|
|||||||
* @param string $noreplace Force disable of replacement of __xxx__ strings.
|
* @param string $noreplace Force disable of replacement of __xxx__ strings.
|
||||||
* @return string|string[] Value found (string or array), or '' if check fails
|
* @return string|string[] Value found (string or array), or '' if check fails
|
||||||
*/
|
*/
|
||||||
function GETPOST($paramname, $check='none', $method=0, $filter=NULL, $options=NULL, $noreplace=0)
|
function GETPOST($paramname, $check='none', $method=0, $filter=null, $options=null, $noreplace=0)
|
||||||
{
|
{
|
||||||
global $mysoc,$user,$conf;
|
global $mysoc,$user,$conf;
|
||||||
|
|
||||||
@ -5070,6 +5070,7 @@ function dol_string_onlythesehtmltags($stringtoclean)
|
|||||||
* Clean a string from some undesirable HTML tags.
|
* Clean a string from some undesirable HTML tags.
|
||||||
*
|
*
|
||||||
* @param string $stringtoclean String to clean
|
* @param string $stringtoclean String to clean
|
||||||
|
* @param array $disallowed_tags Array of tags not allowed
|
||||||
* @return string String cleaned
|
* @return string String cleaned
|
||||||
*
|
*
|
||||||
* @see dol_escape_htmltag strip_tags dol_string_nohtmltag dol_string_onlythesehtmltags
|
* @see dol_escape_htmltag strip_tags dol_string_nohtmltag dol_string_onlythesehtmltags
|
||||||
@ -6147,7 +6148,7 @@ function dol_sort_array(&$array, $index, $order='asc', $natsort=0, $case_sensiti
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
($case_sensitive) ? natsort($temp) : natcasesort($temp);
|
($case_sensitive) ? natsort($temp) : natcasesort($temp);
|
||||||
if($order!='asc') $temp=array_reverse($temp,TRUE);
|
if($order!='asc') $temp=array_reverse($temp,true);
|
||||||
}
|
}
|
||||||
|
|
||||||
$sorted = array();
|
$sorted = array();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user