• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Révision70fe69d77f8b6079e2c768a654493874d05f098c (tree)
l'heure2019-03-29 12:42:37
Auteurumorigu <umorigu@gmai...>
Commiterumorigu

Message de Log

BugTrack/2486 random plugin: Fix Runtime FATAL error

Error always:
PHP Fatal error: Uncaught Error: Function name must be a string

Change Summary

Modification

--- a/plugin/random.inc.php
+++ b/plugin/random.inc.php
@@ -1,7 +1,7 @@
11 <?php
22 // PukiWiki - Yet another WikiWikiWeb clone
33 // random.inc.php
4-// Copyright 2002-2017 PukiWiki Development Team
4+// Copyright 2002-2019 PukiWiki Development Team
55 // License: GPL v2 or (at your option) any later version
66 //
77 // Show random page plugin
@@ -23,7 +23,7 @@ function plugin_random_convert()
2323 {
2424 global $vars;
2525
26- $script = $get_base_uri();
26+ $script = get_base_uri();
2727 $title = '[Random Link]'; // default
2828 if (func_num_args()) {
2929 $args = func_get_args();