Skip to content

Commit

Permalink
fixed constructor name for PHP7 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
splitbrain committed Mar 11, 2016
1 parent 29897f2 commit 1971ed3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntax/table.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class syntax_plugin_data_table extends DokuWiki_Syntax_Plugin {
/**
* Constructor. Load helper plugin
*/
function syntax_plugin_data_table() {
function __construct() {
$this->dthlp = plugin_load('helper', 'data');
}

Expand Down

1 comment on commit 1971ed3

@danoh
Copy link

@danoh danoh commented on 1971ed3 Jul 5, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change also breaks the datatemplate plugin - ccl/dokuwiki-plugin-datatemplate#24

Please sign in to comment.