From 804ba97924ab009595203f7d3b229574b385de34 Mon Sep 17 00:00:00 2001 From: Peio Rigaux Date: Thu, 23 Jan 2020 14:11:30 +0100 Subject: [PATCH] Modified database.php to fix syntax error in condition --- flexisip-account-manager.spec | 4 ++-- src/database/database.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/flexisip-account-manager.spec b/flexisip-account-manager.spec index 38f6e0f..f74286a 100644 --- a/flexisip-account-manager.spec +++ b/flexisip-account-manager.spec @@ -8,7 +8,7 @@ #%define _datadir %{_datarootdir} #%define _docdir %{_datadir}/doc -%define build_number 16 +%define build_number 17 #%if %{build_number} #%define build_number_ext -%{build_number} #%endif @@ -76,6 +76,6 @@ rm -rf $RPM_BUILD_ROOT * Thu Jul 4 2019 Sylvain Berfini - New files layout * Fri Jun 28 2019 Johan Pascal -- +- * Fri May 18 2018 Matthieu TANON - Initial RPM release. diff --git a/src/database/database.php b/src/database/database.php index 5560277..abe0d39 100644 --- a/src/database/database.php +++ b/src/database/database.php @@ -30,7 +30,7 @@ class Database try { if(!empty(DB_ENABLE_SSL) && !empty(ROOT_CA_PATH)){ - if(!file_exists ( string ROOT_CA_PATH )){ + if(!file_exists (ROOT_CA_PATH)){ Logger::getInstance()->error("MySQL connection error: the provided ROOT_CA_PATH does not exists!"); } else{