mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°4454 - Measuring the use of the queryphrase book (code review 2)
This commit is contained in:
@@ -139,7 +139,7 @@ abstract class Query extends cmdbAbstractObject
|
||||
* @return string|null
|
||||
* @since 3.1.0
|
||||
*/
|
||||
public abstract function GetExportUrl(array $aValues = null) : ?string;
|
||||
abstract public function GetExportUrl(array $aValues = null) : ?string;
|
||||
|
||||
/**
|
||||
* Update last export information.
|
||||
|
||||
@@ -87,6 +87,8 @@ $sExpression = utils::ReadParam('expression', '', true /* Allow CLI */, 'raw_dat
|
||||
$sFields = trim(utils::ReadParam('fields', '', true, 'raw_data')); // CSV field list (allows to specify link set attributes, still not taken into account for XML export)
|
||||
$bFieldsAdvanced = utils::ReadParam('fields_advanced', 0);
|
||||
|
||||
$oQuery = null;
|
||||
|
||||
if (strlen($sExpression) == 0)
|
||||
{
|
||||
$sQueryId = trim(utils::ReadParam('query', '', true /* Allow CLI */, 'raw_data'));
|
||||
|
||||
Reference in New Issue
Block a user