Bludit v3.0.0 rc1

This commit is contained in:
Diego Najar 2018-08-21 20:57:24 +02:00
parent f98f14670c
commit 8a5aa64d53
2 changed files with 4 additions and 6 deletions

View File

@ -1,10 +1,10 @@
<?php defined('BLUDIT') or die('Bludit CMS.'); <?php defined('BLUDIT') or die('Bludit CMS.');
// Bludit version // Bludit version
define('BLUDIT_VERSION', '3.0.0-beta-3'); define('BLUDIT_VERSION', '3.0.0-rc-1');
define('BLUDIT_CODENAME', ''); define('BLUDIT_CODENAME', '');
define('BLUDIT_RELEASE_DATE', '2018-08-10'); define('BLUDIT_RELEASE_DATE', '2018-08-21');
define('BLUDIT_BUILD', '20180810'); define('BLUDIT_BUILD', '20180821');
// Debug mode // Debug mode
// Change to FALSE, for prevent warning or errors on browser // Change to FALSE, for prevent warning or errors on browser

View File

@ -677,11 +677,9 @@ class Pages extends dbJSON {
if ($returnSlug) { if ($returnSlug) {
$explode = explode('/', $newKey); $explode = explode('/', $newKey);
if (isset($explode[1])) {
if(isset($explode[1])) {
return $explode[1]; return $explode[1];
} }
return $explode[0]; return $explode[0];
} }