Permalink
Browse files

The use statement with non-compound name 'SplFileInfo' has no effectエ…

…ラーが発生するバグ修正
  • Loading branch information...
1 parent 9c958a0 commit c9c895f653c90fb739c8ce77ae7e888758bf8089 @logue committed Jun 29, 2016
Showing with 3 additions and 5 deletions.
  1. +3 −5 wiki-common/plugin/ref.inc.php
@@ -1,17 +1,15 @@
<?php
// PukiWiki - Yet another WikiWikiWeb clone
-// $Id: ref.inc.php,v 1.56.6 2014/03/09 19:11:00 Logue Exp $
+// $Id: ref.inc.php,v 1.56.7 2016/06/18 13:57:00 Logue Exp $
// Copyright (C)
-// 2010-2012, 2015 PukiWiki Advance Developers Team
+// 2010-2012, 2015-2016 PukiWiki Advance Developers Team
// 2002-2006, 2011 PukiWiki Developers Team
// 2001-2002 Originally written by yu-ji
// License: GPL v2 or (at your option) any later version
//
// Image refernce plugin
// Include an attached image-file as an inline-image
-use \SplFileInfo;
-use \SplFileObject;
use PukiWiki\Attach;
use PukiWiki\Renderer\Header;
use PukiWiki\Renderer\Inline\Inline;
@@ -196,7 +194,7 @@ function plugin_ref_body($args)
} else {
// Because of possibility of race condition, in the future
$params['_error'] =
- 'The style ref(filename,pagename) is ambiguous ' .
+ 'The style &amp;ref(filename,pagename) is ambiguous ' .
'and become obsolete. ' .
'Please try ref(pagename/filename)';
}

0 comments on commit c9c895f

Please sign in to comment.