mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-06 16:36:59 +01:00
Fix error on returning message
Should be plain text instead XML object
This commit is contained in:
@@ -37,7 +37,7 @@ if (!SP_Init::isLoggedIn()) {
|
||||
$sk = SP_Common::parseParams('p', 'sk', FALSE);
|
||||
|
||||
if (!$sk || !SP_Common::checkSessionKey($sk)) {
|
||||
SP_Common::printXML(_('CONSULTA INVÁLIDA'));
|
||||
die(_('CONSULTA INVÁLIDA'));
|
||||
}
|
||||
|
||||
if (SP_Config::getValue('filesenabled', 0) == 0) {
|
||||
@@ -189,4 +189,4 @@ if ($action == "delete") {
|
||||
echo _('Error al eliminar el archivo');
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user