]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - plugins/demo_plugin/demo_plugin.php
New basePath: fix officiel plugin paths and vintage template
[github/shaarli/Shaarli.git] / plugins / demo_plugin / demo_plugin.php
index dd73d6a2129acd2be76a612a8b3c379f7e5bcd3f..defb01f7e4457d05f95f0f95e939297300033904 100644 (file)
@@ -118,7 +118,7 @@ function hook_demo_plugin_render_header($data)
         $form = array(
             'attr' => array(
                 'method' => 'GET',
-                'action' => '?',
+                'action' => $data['_BASE_PATH_'] . '/',
                 'class' => 'addform',
             ),
             'inputs' => array(