Skip to content

Commit

Permalink
Fix for PHP 7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
QuickCRM authored Oct 27, 2017
1 parent d80b0b6 commit fa3cd03
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/Administration/genJSfromSugar.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ class mobile_jsLanguage {
/**
* Creates javascript versions of language files
*/
function mobile_jsLanguage() {
public function __construct()
{
}

function getListOfLists($lst_mod) {
Expand Down Expand Up @@ -254,7 +255,7 @@ function createMobileFiles(){
function CheckAccess(){
global $sugar_config;

if (is_windows()){
if (is_windows() || !function_exists('curl_init')){
return true;
}
else {
Expand Down

0 comments on commit fa3cd03

Please sign in to comment.