diff --git a/CHANGELOG b/CHANGELOG
index 78fe6e43..a85b5e45 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,13 @@
+=== ** v1.1.2.24 ===
+
+* [FIX] Fixed error on saving files extensions.
+* [FIX] Fixed checking for updates issue.
+* [FIX] Closes #109
+* [FIX] Closes #116, Closes #107
+* [MOD] Changed behaviour on getting security token for customers, categories, groups, users and profiles edition.
+* [MOD] Changed application logo and description.
+* [MOD] Added version umber on update title.
+
=== ** v1.1.2.23 ===
* [FIX] Customer description not being added when it was created. Thanks to @tejadon
diff --git a/CHANGELOG-ES b/CHANGELOG-ES
index cfc92c94..48187276 100644
--- a/CHANGELOG-ES
+++ b/CHANGELOG-ES
@@ -1,3 +1,13 @@
+=== ** v1.1.2.24 ===
+
+* [FIX] Corregido error al guardar extensiones de archivos.
+* [FIX] Corregido error al comprobar actualizaciones.
+* [FIX] Closes #109
+* [FIX] Closes #116, Closes #107
+* [MOD] Cambiada la funcionalidad de generación del token de seguridad para la gestión de clientes, categorias, usuarios, grupos y perfiles.
+* [MOD] Cambiados logo y descripción de la aplicación.
+* [MOD] Añadido número de versión en mensaje de actualización.
+
=== ** v1.1.2.23 ===
* [FIX] Corregido error al crear clientes, la descripción no era insertada. Gracias a @tejadon
diff --git a/ajax/ajax_checkUpds.php b/ajax/ajax_checkUpds.php
index 473d9b2e..988e27df 100644
--- a/ajax/ajax_checkUpds.php
+++ b/ajax/ajax_checkUpds.php
@@ -41,7 +41,7 @@ if (is_array($checkVersion)) {
$title = _('Descargar nueva versión') . ' - ' . $checkVersion['version'] . '
' . nl2br($checkVersion['description']);
echo '
' . $checkVersion['title'] . '';
} elseif ($checkVersion === true) {
- echo '
';
+ echo '
';
} elseif ($checkVersion === false) {
echo '!';
}
\ No newline at end of file
diff --git a/inc/util.class.php b/inc/util.class.php
index 77cfcc2f..1818ceac 100644
--- a/inc/util.class.php
+++ b/inc/util.class.php
@@ -223,19 +223,11 @@ class SP_Util
$updateInfo = json_decode($data);
- // $updateInfo[0]->tag_name
- // $updateInfo[0]->name
- // $updateInfo[0]->body
- // $updateInfo[0]->tarball_url
- // $updateInfo[0]->zipball_url
- // $updateInfo[0]->published_at
- // $updateInfo[0]->html_url
-
- $version = $updateInfo[0]->tag_name;
- $url = $updateInfo[0]->html_url;
- $title = $updateInfo[0]->name;
- $description = $updateInfo[0]->body;
- $date = $updateInfo[0]->published_at;
+ $version = $updateInfo->tag_name;
+ $url = $updateInfo->html_url;
+ $title = $updateInfo->name;
+ $description = $updateInfo->body;
+ $date = $updateInfo->published_at;
preg_match("/v?(\d+)\.(\d+)\.(\d+)\.(\d+)(\-[a-z0-9.]+)?$/", $version, $realVer);
@@ -276,7 +268,7 @@ class SP_Util
*/
public static function getVersion($retBuild = false)
{
- $build = '23';
+ $build = '24';
$version = array(1, 1, 2);
if ($retBuild) {