Changeset 939

Show
Ignore:
Timestamp:
02/22/2008 08:28:28 AM (3 years ago)
Author:
DotMG
Message:

COORD of [938] to trunk.

The value of <input type="hidden" name="wakka" ...> should be HomePage/diff and not HomePage. The problem is inside (advanced) FormOpen().

refs #670

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/libs/Wakka.class.php

    r900 r939  
    30103010                { 
    30113011                        $attrAction = ' action="'.$this->Href($handler).'"'; 
    3012                         $hidden['wakka'] = ('' != $tag) ? $tag : $this->tag; 
     3012                        // #670: This value will short-circuit the value of wakka=... in URL. 
     3013                        $hidden['wakka'] = $this->MiniHref($handler, ('' == $tag ? $this->GetPageTag(): $tag)); 
    30133014                        // @@@ add passed extra GET params here by adding them as extra 
    30143015                        // entries to $hidden (probably not by adding them to Href()