summaryrefslogtreecommitdiff
path: root/lib/action.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-04-07 11:40:13 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-04-07 11:40:13 -0400
commit4cc6d0ea2c7bec551c7726d7a336afea17d27df8 (patch)
tree8389ca261e79825c7233ca2bbdf5fe5f84ef8479 /lib/action.php
parentf09886672bc03220768fd5818a9e74bb60cc3172 (diff)
make tags in list work
Diffstat (limited to 'lib/action.php')
-rw-r--r--lib/action.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/action.php b/lib/action.php
index 5d0d5b758..bba76d833 100644
--- a/lib/action.php
+++ b/lib/action.php
@@ -921,11 +921,15 @@ class Action extends HTMLOutputter // lawsuit
*
* @return string current URL
*/
+
function selfUrl()
{
$action = $this->trimmed('action');
$args = $this->args;
unset($args['action']);
+ if (array_key_exists('submit', $args)) {
+ unset($args['submit']);
+ }
foreach (array_keys($_COOKIE) as $cookie) {
unset($args[$cookie]);
}