• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

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

Commit MetaInfo

修訂1f989e0d3fa3ae174d93a2f45608efd13c8219e2 (tree)
時間2005-01-30 19:55:53
作者henoheno <henoheno>
Commiterhenoheno

Log Message

Added isset()

Change Summary

差異

--- a/plugin/lookup.inc.php
+++ b/plugin/lookup.inc.php
@@ -1,6 +1,6 @@
11 <?php
22 // PukiWiki - Yet another WikiWikiWeb clone.
3-// $Id: lookup.inc.php,v 1.15 2005/01/08 11:26:22 henoheno Exp $
3+// $Id: lookup.inc.php,v 1.16 2005/01/30 10:55:53 henoheno Exp $
44 //
55 // InterWiki lookup plugin
66
@@ -14,7 +14,7 @@ function plugin_lookup_convert()
1414
1515 $args = func_get_args();
1616 $interwiki = htmlspecialchars(trim($args[0]));
17- $button = trim($args[1]);
17+ $button = isset($args[1]) ? trim($args[1]) : '';
1818 $button = ($button != '') ? htmlspecialchars($button) : 'lookup';
1919 $default = ($num > 2) ? htmlspecialchars(trim($args[2])) : '';
2020 $s_page = htmlspecialchars($vars['page']);