Skip to content

Commit 0b780e5

Browse files
author
Iordanis Kostelidis
committed
fixes request check mechanism
1 parent 089bbb5 commit 0b780e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

www/app/php/utils/Utils.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public static function areAllValuesEmpty($object, array $values)
131131
*/
132132
public static function isSearchAndConvertRequest($object)
133133
{
134-
return isset($object['z3950_value']);
134+
return isset($object['z3950_value']) && ($object['z3950_value'] != '');
135135
}
136136

137137
/**
@@ -140,7 +140,7 @@ public static function isSearchAndConvertRequest($object)
140140
*/
141141
public static function isImportToKohaRequest($object)
142142
{
143-
return isset($object['koha_intra_value']);
143+
return isset($object['koha_intra_value']) && ($object['koha_intra_value'] != '');
144144
}
145145

146146
/**

0 commit comments

Comments
 (0)