PHP7 fixes - constructor must be named __construct()
This commit is contained in:
		
							parent
							
								
									a1c2039371
								
							
						
					
					
						commit
						87627acd61
					
				| 
						 | 
				
			
			@ -73,7 +73,7 @@ var $PDFVersion;         // PDF version number
 | 
			
		|||
*                               Public methods                                 *
 | 
			
		||||
*                                                                              *
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
function FPDF($orientation='P', $unit='mm', $size='A4')
 | 
			
		||||
function __construct($orientation='P', $unit='mm', $size='A4')
 | 
			
		||||
{
 | 
			
		||||
	// Some checks
 | 
			
		||||
	$this->_dochecks();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -40,7 +40,7 @@ class UFPDF extends FPDF
 | 
			
		|||
*                               Public methods                                 *
 | 
			
		||||
*                                                                              *
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
function UFPDF($orientation='P',$unit='mm',$format='A4')
 | 
			
		||||
function __construct($orientation='P',$unit='mm',$format='A4')
 | 
			
		||||
{
 | 
			
		||||
  FPDF::FPDF($orientation, $unit, $format);
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue