From e56e288689415ba069beb129a3ed9dccc404c0a3 Mon Sep 17 00:00:00 2001 From: Christopher Smith Date: Fri, 15 May 2015 19:33:59 +0200 Subject: PHP7 Compat updates on the phpseclib This is a quick fix in advance of the library being updated to the latest & PHP7 compatible version. --- inc/phpseclib/Crypt_Rijndael.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc/phpseclib/Crypt_Rijndael.php') diff --git a/inc/phpseclib/Crypt_Rijndael.php b/inc/phpseclib/Crypt_Rijndael.php index c63e0ff7e..33f42da17 100644 --- a/inc/phpseclib/Crypt_Rijndael.php +++ b/inc/phpseclib/Crypt_Rijndael.php @@ -699,9 +699,9 @@ class Crypt_Rijndael extends Crypt_Base { * @param optional Integer $mode * @access public */ - function Crypt_Rijndael($mode = CRYPT_RIJNDAEL_MODE_CBC) + function __construct($mode = CRYPT_RIJNDAEL_MODE_CBC) { - parent::Crypt_Base($mode); + parent::__construct($mode); } /** -- cgit v1.2.3