aboutsummaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/IsisConnector.php12
1 files changed, 4 insertions, 8 deletions
diff --git a/classes/IsisConnector.php b/classes/IsisConnector.php
index 8a2fd45..03c2bfe 100644
--- a/classes/IsisConnector.php
+++ b/classes/IsisConnector.php
@@ -636,8 +636,7 @@ class IsisConnector {
* @return
* True if result has the main item, false otherwise.
*/
- public function hasMainItem($field, $row)
- {
+ public function hasMainItem($field, $row) {
$value = $this->getMainItem($field, $row);
if (!empty($value)) {
@@ -663,14 +662,11 @@ class IsisConnector {
* @return
* True if result has the main item, false otherwise.
*/
- public function hasItem($field, $item, $row = 0)
- {
- if ($item == 'main')
- {
+ public function hasItem($field, $item, $row = 0) {
+ if ($item == 'main') {
$has = $this->hasMainItem($field, $row);
}
- else
- {
+ else {
$subfield = $this->getSubfieldName($this->getFieldKey($field), $item);
$has = $this->hasSubfield($field, $subfield, $row);
}