Dotclear

Changeset 531:f4036d98db10


Ignore:
Timestamp:
07/07/11 09:43:26 (14 years ago)
Author:
Tomtom33 <tbouron@…>
Branch:
formfilters
Message:

Raised user notice when using old list class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/lib.pager.php

    r522 r531  
    3737          // For backward compatibility only: the developer tried to create 
    3838          // a list with the old constructor. 
    39           $this->raiseDeprecated(get_class($this)); 
     39          ob_start($this->raiseDeprecated(get_class($this))); 
    4040           
    4141          $this->core =& $core; 
     
    5959               $grand = array_shift($trace); 
    6060               $msg = 'Deprecated class called. ('; 
    61                $msg .= $name . ' was called from '.$grand['file'].' ['.$grand['line'].'])'; 
     61               $msg .= $name.' was called from '.$grand['file'].' ['.$grand['line'].'])'; 
    6262               trigger_error($msg, E_USER_NOTICE); 
    6363          } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map