Changeset 66d2152 in github


Ignore:
Timestamp:
Mar 4, 2012 2:59:46 AM (15 months ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.8
Children:
6205a30
Parents:
54d0746
Message:

Exclude E_STRICT from error_reporting for PHP 5.4

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    r54d0746 r66d2152  
    22=========================== 
    33 
     4- Exclude E_STRICT from error_reporting for PHP 5.4 
    45- Copy all skins in installto script (#1488376) 
    56- Prevent from folder selection on virtual folder collapsing (#1488346) 
  • program/include/html.php

    rfd6f6e2 r66d2152  
    336336            $this->type = $attrib['type']; 
    337337        } 
    338  
    339         if ($attrib['newline']) { 
    340             $this->newline = true; 
    341         } 
    342338    } 
    343339 
     
    382378 */ 
    383379 
    384 class html_hiddenfield extends html_inputfield 
     380class html_hiddenfield extends html 
    385381{ 
     382    protected $tagname = 'input'; 
    386383    protected $type = 'hidden'; 
    387384    protected $fields_arr = array(); 
    388     protected $newline = true; 
     385    protected $allowed = array('type','name','value','onchange','disabled','readonly'); 
    389386 
    390387    /** 
  • program/include/iniset.php

    r7fe3811 r66d2152  
    6969} 
    7070 
    71 ini_set('error_reporting', E_ALL&~E_NOTICE); 
     71ini_set('error_reporting', E_ALL &~ (E_NOTICE | E_STRICT)); 
    7272 
    7373// increase maximum execution time for php scripts 
  • program/include/rcube_charset.php

    r20efa59 r66d2152  
    7979     * @param  string Error message 
    8080     */ 
    81     public function error_handler($errno, $errstr) 
     81    public static function error_handler($errno, $errstr) 
    8282    { 
    8383        throw new ErrorException($errstr, 0, $errno); 
  • program/include/rcube_contacts.php

    rf9a9677 r66d2152  
    884884     * @return boolean New name on success, false if no data was changed 
    885885     */ 
    886     function rename_group($gid, $newname) 
     886    function rename_group($gid, $newname, &$new_gid) 
    887887    { 
    888888        // make sure we have a unique name 
  • program/lib/PEAR.php

    r8c124b9 r66d2152  
    264264     * @return  bool    true if parameter is an error 
    265265     */ 
    266     function isError($data, $code = null) 
     266    static function isError($data, $code = null) 
    267267    { 
    268268        if (!is_object($data) || !is_a($data, 'PEAR_Error')) { 
Note: See TracChangeset for help on using the changeset viewer.