From 5d11a09866093dc8818a235a19b1d578154e0870 Mon Sep 17 00:00:00 2001 From: cytopia Date: Mon, 2 Oct 2017 13:00:48 +0200 Subject: [PATCH] REL-0.12 Fix version getter --- .devilbox/www/htdocs/_ajax_callback.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.devilbox/www/htdocs/_ajax_callback.php b/.devilbox/www/htdocs/_ajax_callback.php index 3e17387e..f002edab 100644 --- a/.devilbox/www/htdocs/_ajax_callback.php +++ b/.devilbox/www/htdocs/_ajax_callback.php @@ -85,12 +85,12 @@ if (loadClass('Helper')->isLoggedIn()) { } else if ($_GET['software'] == 'symfony') { echo json_encode(array( - $_GET['software'] => (($version = loadClass('Php')->getPhalconVersion()) !== false) ? $version : $no + $_GET['software'] => (($version = loadClass('Php')->getSymfonyVersion()) !== false) ? $version : $no )); } else if ($_GET['software'] == 'wpcli') { echo json_encode(array( - $_GET['software'] => (($version = loadClass('Php')->getSymfonyVersion()) !== false) ? $version : $no + $_GET['software'] => (($version = loadClass('Php')->getWpcliVersion()) !== false) ? $version : $no )); } else { echo json_encode(array($_GET['software'] => 'unknown software'));