Skip to content

Commit

Permalink
Merge pull request #212 from pkamps/php7_constructor_fix
Browse files Browse the repository at this point in the history
Calling parent constructor correctly for 2017.10 / PHP7 compatibility
  • Loading branch information
andrerom authored Dec 7, 2017
2 parents 393c781 + 47a5185 commit 1d20767
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion classes/ezfindresultnode.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class eZFindResultNode extends eZContentObjectTreeNode
*/
function eZFindResultNode( $rows = array() )
{
$this->eZContentObjectTreeNode( $rows );
parent::__construct( $rows );
if ( isset( $rows['id'] ) )
{
$this->ContentObjectID = $rows['id'];
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
],
"minimum-stability": "dev",
"require": {
"ezsystems/ezpublish-legacy-installer": "*"
"ezsystems/ezpublish-legacy-installer": "*",
"ezsystems/ezpublish-legacy": ">=2017.10"
},
"extra": {
"ezpublish-legacy-extension-name": "ezfind"
Expand Down

0 comments on commit 1d20767

Please sign in to comment.