JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fixed metaform url bug
[wfpl.git] / metaform.php
index b4f43ff..9d6f4dd 100644 (file)
@@ -242,7 +242,7 @@ function edit_url() {
        $url = this_url();
        $url = ereg_replace('view_php=[^&]*', 'edit=yes', $url);
        $url = ereg_replace('download_tar=[^&]*', 'edit=yes', $url);
-       $url = ereg_replace('/[a-z0-9_.]*?', '/?', $url);
+       $url = ereg_replace('/[a-z0-9_.]*\?', '/?', $url);
        return $url;
 }