Skip to content

Commit

Permalink
Bugfix for PHP error & version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwiz committed May 3, 2017
1 parent 5bdcf98 commit 54215c5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# v1.3.3 #

- No new features

## Bugfixes ##

- Fix PHP error on executing `bin/es_sync.php`


# v1.3.2 #

- Announcement support on the index page
Expand Down
2 changes: 1 addition & 1 deletion phplib/411bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
date_default_timezone_set("UTC");

define('BASE_DIR', realpath(__DIR__ . '/..'));
define('VERSION', '1.3.2');
define('VERSION', '1.3.3');

// Set up autoloader for our classes.
spl_autoload_register(function($class) {
Expand Down
2 changes: 1 addition & 1 deletion phplib/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ public static function hydrateModels($objs) {
* @param array $query The list of query clauses.
* @return string[] A list of SQL fragments.
*/
protected static function generateWhere($query) {
protected static function generateWhere(array $query) {
$MODEL = 'FOO\\' . static::$MODEL;

$clauses = [];
Expand Down

0 comments on commit 54215c5

Please sign in to comment.