Merge branch '1827-Graficas_TIP_eje_x_no_mantiene_ratio' into 'develop'

1827 graficas tip eje x no mantiene ratio

See merge request artica/pandorafms!1536
This commit is contained in:
vgilc 2018-06-13 12:03:24 +02:00
commit 7d0249ee12
1 changed files with 2 additions and 2 deletions

View File

@ -2191,8 +2191,8 @@ function config_check () {
__('Please, change it on your PHP configuration file (php.ini) or contact with administrator (Dont forget restart apache process after changes)'), __("Problems with disable functions in PHP.INI"));
}
$result_ejectuion = exec($config['phantomjs_bin'] . 'phantomjs --version');
if(isset($result_ejectuion) || $result_ejectuion == ''){
$result_ejecution = exec($config['phantomjs_bin'] . '/phantomjs --version');
if(!isset($result_ejecution) || $result_ejecution == ''){
set_pandora_error_for_header(
__('To be able to create images of the graphs for PDFs, please install the phantom.js extension. For that, it is necessary to follow these steps:') .
'<a src="">Click here</a>',