mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
N°1590: Advanced search: fixed a bug when selecting foreign keys would not add items (selectionMode is mandatory)
This commit is contained in:
@@ -464,9 +464,9 @@ class utils
|
||||
{
|
||||
$sSelectionMode = utils::ReadParam('selectionMode', '');
|
||||
|
||||
if ($sSelectionMode === '')
|
||||
if ($sSelectionMode != 'positive' && $sSelectionMode != 'negative')
|
||||
{
|
||||
throw new CoreException('selectionMode is mandatory');
|
||||
throw new CoreException('selectionMode must be either positive or negative');
|
||||
}
|
||||
|
||||
// Paginated selection
|
||||
|
||||
Reference in New Issue
Block a user