2
0
forked from Wavyzz/dolibarr

Lowercase NULL, TRUE, FALSE according to PSR2

This commit is contained in:
Laurent Destailleur
2018-04-16 13:51:16 +02:00
parent c702c88fde
commit 0d0da234b1
56 changed files with 138 additions and 138 deletions

View File

@@ -272,7 +272,7 @@ function GETPOSTISSET($paramname)
* @param string $noreplace Force disable of replacement of __xxx__ strings.
* @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;
@@ -6519,7 +6519,7 @@ function dol_sort_array(&$array, $index, $order='asc', $natsort=0, $case_sensiti
else
{
($case_sensitive) ? natsort($temp) : natcasesort($temp);
if($order!='asc') $temp=array_reverse($temp,TRUE);
if($order!='asc') $temp=array_reverse($temp, true);
}
$sorted = array();