aboutsummaryrefslogtreecommitdiff
path: root/classes/IsisConnector.php
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-08-13 14:45:18 -0300
committerSilvio <silvio@devlet.com.br>2010-08-13 14:45:18 -0300
commit73731fa698fd658985cabeb202f3e6218931641f (patch)
tree3dc6cd688e08a0626973a4b2637885626682e7f0 /classes/IsisConnector.php
parentff0d55aabf6e5cd91cf9951cf33c2d10ba597cda (diff)
downloadcinisis-73731fa698fd658985cabeb202f3e6218931641f.tar.gz
cinisis-73731fa698fd658985cabeb202f3e6218931641f.tar.bz2
Minor fix
Diffstat (limited to 'classes/IsisConnector.php')
-rw-r--r--classes/IsisConnector.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/classes/IsisConnector.php b/classes/IsisConnector.php
index e845683..c104bc1 100644
--- a/classes/IsisConnector.php
+++ b/classes/IsisConnector.php
@@ -165,10 +165,16 @@ class IsisConnector {
*/
public function getSubfield($field, $subfield, $row = 0) {
if ($this->joinSubfields()) {
- $subfields = $this->result[$field['name']][$row];
+ if (isset($this->result[$field['name']][$row]))
+ {
+ $subfields = $this->result[$field['name']][$row];
+ }
}
else {
- $subfields = $this->result[$field['name']][$row]['subfields'];
+ if (isset($this->result[$field['name']][$row]['subfields']))
+ {
+ $subfields = $this->result[$field['name']][$row]['subfields'];
+ }
}
if (isset($subfields[$subfield])) {