X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2FPlugin%2FEditor.php;h=539b8f0df5ae08a149b428ee2179c3b18adfb369;hb=b2c16bf312cd037e252e568974a5523407e42099;hp=9de3b2f1c2a75b45ade74d2c0b1b1cc358899fd6;hpb=7bece6dda8f9092028ce2ecd469edc29338f3828;p=diogenes.git diff --git a/include/Plugin/Editor.php b/include/Plugin/Editor.php index 9de3b2f..539b8f0 100644 --- a/include/Plugin/Editor.php +++ b/include/Plugin/Editor.php @@ -120,7 +120,7 @@ class Diogenes_Plugin_Editor { } foreach ($available as $plugin) { - $plugentry =& $globals->plugins->cacheGet($cache, $this->plug_barrel, $this->plug_page, $plugin); + $plugentry = $globals->plugins->cacheGet($cache, $this->plug_barrel, $this->plug_page, $plugin); if (!is_array($plugentry) and $this->plug_page) { $plugentry = $globals->plugins->cacheGet($cache, $this->plug_barrel, 0, $plugin); if (is_array($plugentry)) @@ -154,10 +154,10 @@ class Diogenes_Plugin_Editor { } // retrieve parameters from REQUEST - foreach ($plug_h->params as $key => $val) + foreach ($plug_h->getParamNames() as $key) { if (isset($_REQUEST[$plug_h->name."_".$key])) { - $plug_h->params[$key] = $_REQUEST[$plug_h->name."_".$key]; + $plug_h->setParamValue($key, $_REQUEST[$plug_h->name."_".$key]); } }