Skip to content
This repository has been archived by the owner on Oct 29, 2020. It is now read-only.

Commit

Permalink
Fix for PHP Warning #2
Browse files Browse the repository at this point in the history
Fix for PHP Warning:  Declaration of action_plugin_googlefonts::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /home/***/public_html/lib/plugins/googlefonts/action.php on line 72
  • Loading branch information
pinchies committed Apr 15, 2020
1 parent f841745 commit d5fe79e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.php
Expand Up @@ -16,7 +16,7 @@
class action_plugin_googlefonts extends DokuWiki_Action_Plugin {

// register hook
function register(&$controller) {
function register(Doku_Event_Handler $controller) {
$controller->register_hook('TPL_METAHEADER_OUTPUT','BEFORE', $this, '_addFontCode');
}

Expand Down

0 comments on commit d5fe79e

Please sign in to comment.