As I cannot find bugtraq at hklc I post it here.

Concerning M5.

On Nadmin's frontpage you have a list of unapproved pages and articles,
but checking and approving item on that page doen't work. What I found
is

1: if($mgdapprove)
2:
mgd_include_snippet("hklc_adminsite_host/argv0/frontpage/approve");

In /hklc_adminsite_host/argv0/frontpage/frontpage. But as I investigated
"Undefined variable: mgdapprove" occures. Weird cause there IS

<input type=hidden name=mgdapprove value="Approved">

In approval form (on a frontpage). Nevertheless I changed the code to:

if($mgdapprovepage || $mgdapprovearticle) {
    mgd_include_snippet("hklc_adminsite_host/argv0/frontpage/approve");
}

And now it works. Strabge is that both $mgdapprovepage and
$mgdapprovearticle are defined whithin the same form as $mgdapprove.
Moreover I still got "Undefined variable: mgdapprovepage" and "Undefined
variable: mgdapprovearticle" errors but item become approved.

Solt

PS. Pleasetreat this as a bug report.
PS2. How about putting "Replicate" button in a top of a frameset? It
quite uncomfortable to skipping to Websites section everytime I want
replicate to live database.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to