Changeset 938

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

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

refs #670, (trunk will be corrected in the next changeset)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.1.6.4/libs/Wakka.class.php

    r934 r938  
    11441144                { 
    11451145                        $attrAction = ' action="'.$this->Href($handler).'"'; 
    1146                         $hidden['wakka'] = ('' != $tag) ? $tag : $this->tag; 
     1146                        // #670: This value will short-circuit the value of wakka=... in URL. 
     1147                        $hidden['wakka'] = $this->MiniHref($handler, ('' == $tag ? $this->GetPageTag(): $tag)); 
    11471148                        // @@@ add passed extra GET params here by adding them as extra 
    11481149                        // entries to $hidden (probably not by adding them to Href()