Skip to content

Commit

Permalink
adding fix for #192
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Adams committed Dec 18, 2016
1 parent 2cfa988 commit 610cfd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/base/classes/paginatedResultSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ function formatResults($format) {

if (array_key_exists($format, $formats)) {

return $this->$formats[$format]();
return $this->{$formats[$format]}();
} else {
return 'That format is not supported';
}
Expand Down

0 comments on commit 610cfd1

Please sign in to comment.