[ewiki] mpi: mpi_insert.php bug?

Hi there!

And yet another question / bug report:

###REPORT

I included the mpi-plugin. mpi_embed works e.g. with PowerSearch. But when I 
want to use mpi_insert by  

<?plugin insert WhatEverPage ?>

I get is the non-existing page "_ 0id", which is what your get when you

implode("", array_keys($args))

with $args being what's passed to ewiki_mpi_insert(). And the "implode"-thingy 
is what's done before calling ewiki_page in the function.

###FIX

My hack exchanges (in line 26 of mpi_insert.php)

$o = ewiki_page(implode("", array_keys($args)));

with

$o = ewiki_page($args[0]);

and it works. 

Is my setup messed up that the CVS-version doesn't work or is it a bug?

###REQUEST

What I'd like as additional feature in mpi_insert is the ability to switch of 
the pages footer  (i.e. define("EWIKI_CONTROL_LINE", 0); - but just for the 
inserted page and not the main page).

Solong, Timm


Other related posts: