Fix phpcs

This commit is contained in:
Laurent Destailleur 2020-03-23 17:24:47 +01:00
parent b18d3e5588
commit 2a310b09af

View File

@ -717,7 +717,7 @@ function getSocialNetworkSharingLinks()
* @param string $sortorder Sort order ('DESC' or 'ASC') * @param string $sortorder Sort order ('DESC' or 'ASC')
* @return string HTML content * @return string HTML content
*/ */
function getPagesFromSearchCriterias($type, $algo, $searchstring, $max = 25, $sortfield='date_creation', $sortorder='DESC') function getPagesFromSearchCriterias($type, $algo, $searchstring, $max = 25, $sortfield = 'date_creation', $sortorder = 'DESC')
{ {
global $conf, $db, $hookmanager, $langs, $mysoc, $user, $website, $websitepage, $weblangs; // Very important. Required to have var available when running inluded containers. global $conf, $db, $hookmanager, $langs, $mysoc, $user, $website, $websitepage, $weblangs; // Very important. Required to have var available when running inluded containers.