Changeset 748

Show
Ignore:
Timestamp:
10/11/2007 05:52:35 AM (21 months ago)
Author:
JavaWoman
Message:

small fix to existsHandler() (paths are different in trunk and 1.1.6.4)

refs #562

Files:
1 modified

Legend:

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

    r746 r748  
    466466         * 
    467467         * I suspect PHP's htmlspecialchars() is working at the byte-value level and 
    468          * thus _needs_ to know (or asssume) a character set because the special 
     468         * thus _needs_ to know (or assume) a character set because the special 
    469469         * characters to be replaced could exist at different code points in 
    470470         * different character sets. (If indeed htmlspecialchars() works at 
     
    11701170        function FormClose() 
    11711171        { 
    1172                 return "</form>\n"; 
     1172                $result = '</form>'."\n"; 
     1173                return $result; 
    11731174        } 
    11741175 
     
    16011602                if ((!$this->GetUser() && isset($_COOKIE["wikka_user_name"])) && ($user = $this->LoadUser($_COOKIE["wikka_user_name"], $_COOKIE["wikka_pass"]))) 
    16021603                { 
    1603                  //Old cookies : delete them 
     1604                        //Old cookies : delete them 
    16041605                        SetCookie('wikka_user_name', "", 1, "/"); 
    16051606                        $_COOKIE['wikka_user_name'] = "";