Skip to content

Commit

Permalink
The use statement with non-compound name 'SplFileInfo' has no effectエ…
Browse files Browse the repository at this point in the history
…ラーが発生するバグ修正
  • Loading branch information
logue committed Jun 29, 2016
1 parent 9c958a0 commit c9c895f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions 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;
Expand Down Expand Up @@ -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)';
}
Expand Down

0 comments on commit c9c895f

Please sign in to comment.