summaryrefslogtreecommitdiff
path: root/inc/plugin.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/plugin.php')
-rw-r--r--inc/plugin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/plugin.php b/inc/plugin.php
index ec94433b6..b0518346d 100644
--- a/inc/plugin.php
+++ b/inc/plugin.php
@@ -66,7 +66,7 @@ class DokuWiki_Plugin {
* to try to minimise unnecessary loading of the strings when the plugin doesn't require them
* e.g. when info plugin is querying plugins for information about themselves.
*
- * @param $id id of the string to be retrieved
+ * @param string $id id of the string to be retrieved
* @return string string in appropriate language or english if not available
*/
function getLang($id) {
@@ -191,7 +191,7 @@ class DokuWiki_Plugin {
*/
function loadHelper($name, $msg){
if (!plugin_isdisabled($name)){
- $obj =& plugin_load('helper',$name);
+ $obj = plugin_load('helper',$name);
}else{
$obj = null;
}