Fix a copule of notices messages in the code

This commit is contained in:
Julio Cesar Laura
2014-09-25 15:33:21 -04:00
parent 4b18c58760
commit 0835a60e1e
2 changed files with 7 additions and 7 deletions

View File

@@ -644,7 +644,7 @@ class Installer extends Controller
$adminPassword = trim( $_REQUEST['adminPassword'] ); $adminPassword = trim( $_REQUEST['adminPassword'] );
$adminUsername = trim( $_REQUEST['adminUsername'] ); $adminUsername = trim( $_REQUEST['adminUsername'] );
$deleteDB = ($_REQUEST['deleteDB'] == 'true'); $deleteDB = ($_REQUEST['deleteDB'] == 'true');
$userLogged = ($_REQUEST['userLogged'] == 'true'); $userLogged = (isset($_REQUEST['userLogged']) ? ($_REQUEST['userLogged'] == 'true') : false);
if (substr( $pathShared, - 1 ) != '/') { if (substr( $pathShared, - 1 ) != '/') {
$pathShared .= '/'; $pathShared .= '/';

View File

@@ -257,7 +257,7 @@ switch ($request) {
$conf->aConfig = $confParams; $conf->aConfig = $confParams;
$conf->saveConfig( 'APP_CACHE_VIEW_ENGINE', '', '', '' ); $conf->saveConfig( 'APP_CACHE_VIEW_ENGINE', '', '', '' );
$response = new StdClass(); $result = new StdClass();
$result->success = true; $result->success = true;
$result->msg = G::LoadTranslation('ID_TITLE_COMPLETED'); $result->msg = G::LoadTranslation('ID_TITLE_COMPLETED');