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_Base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/phpseclib/Crypt_Base.php') diff --git a/inc/phpseclib/Crypt_Base.php b/inc/phpseclib/Crypt_Base.php index 7c650ca72..4fb9990c7 100644 --- a/inc/phpseclib/Crypt_Base.php +++ b/inc/phpseclib/Crypt_Base.php @@ -445,7 +445,7 @@ class Crypt_Base { * @param optional Integer $mode * @access public */ - function Crypt_Base($mode = CRYPT_MODE_CBC) + function __construct($mode = CRYPT_MODE_CBC) { $const_crypt_mode = 'CRYPT_' . $this->const_namespace . '_MODE'; -- cgit v1.2.3