Permalink
Browse files

Don't call nonstatic method statically

  • Loading branch information...
flack committed Jan 9, 2018
1 parent 0222da7 commit 77cab1ae40f62dc980617f74e1dbab211315ae55
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/midcom/admin/help/help.php
@@ -266,7 +266,7 @@ private function read_component_handlers($component)
}
if (self::generate_file_path('handlers_' . $request_handler_id, $component)) {
$data[$request_handler_id]['info'] = self::get_help_contents('handlers_' . $request_handler_id, $component);
$data[$request_handler_id]['info'] = $this->get_help_contents('handlers_' . $request_handler_id, $component);
$data[$request_handler_id]['handler_help_url'] = 'handlers_' . $request_handler_id;
}
}
@@ -292,7 +292,7 @@ private function read_url_methods($component)
$info_id = "urlmethod_" . str_replace('.php', '', $file);
$data[$file]['url'] = '/midcom-exec-' . $component . '/' . $file;
$data[$file]['description'] = self::get_help_contents($info_id, $component);
$data[$file]['description'] = $this->get_help_contents($info_id, $component);
if (self::generate_file_path($info_id, $component)) {
$data[$file]['handler_help_url'] = $info_id;

0 comments on commit 77cab1a

Please sign in to comment.