Skip to content

Commit

Permalink
Merge pull request #1 from iter8-au/develop
Browse files Browse the repository at this point in the history
Fix XML query syntax
  • Loading branch information
deancsmith authored Jul 26, 2018
2 parents cf5cae5 + 7c04f79 commit 777d6f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Thybag/SharePointAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ public function read ($list_name, $limit = NULL, $query = NULL, $view = NULL, $s

// If query is required
if (!empty($xml_query)) {
$xml_options .= '<query><Query>' . $xml_query . '</Query></query>';
$xml_options .= '<Query>' . $xml_query . '</Query>';
}

/*
Expand Down Expand Up @@ -1130,4 +1130,4 @@ public function getColumnVersions ($list, $id, $field) { return $this->getFieldV
public function getVersions ($list, $id, $field = null) {
return $this->getFieldVersions($list, $id, $field);
}
}
}

0 comments on commit 777d6f4

Please sign in to comment.