Skip to content
Snippets Groups Projects
Commit 1ad3405e authored by Jean-François Ferry's avatar Jean-François Ferry Committed by jfefe
Browse files

Qual : codesniffer

parent a2bfcfae
No related branches found
No related tags found
No related merge requests found
......@@ -208,9 +208,13 @@ class Resource extends CommonObject
* @param array $filter filter output
* @return int <0 if KO, >0 if OK
*/
function fetch_all_used($sortorder="ASC", $sortfield="t.rowid", $limit=25, $offset=1, $filter='')
function fetch_all_used($sortorder, $sortfield, $limit, $offset=1, $filter='')
{
global $conf;
if ( ! $sortorder) $sortorder="ASC";
if ( ! $sortfield) $sortfield="t.rowid";
$sql="SELECT ";
$sql.= " t.rowid,";
$sql.= " t.resource_id,";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment