From 690218c16e6eba215396d438e9a85650cde2e9a2 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Fri, 23 Oct 2020 13:00:40 +0200 Subject: [PATCH] Hotfix --- db/10001-ticketService/00-myTicketService.sql | 3 ++- debian/changelog | 2 +- package.json | 2 +- rest/core/account.php | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/db/10001-ticketService/00-myTicketService.sql b/db/10001-ticketService/00-myTicketService.sql index 435c2487..5d0a0aae 100644 --- a/db/10001-ticketService/00-myTicketService.sql +++ b/db/10001-ticketService/00-myTicketService.sql @@ -1,6 +1,7 @@ CREATE OR REPLACE + ALGORITHM = UNDEFINED DEFINER=`root`@`%` - ALGORITHM = UNDEFINED VIEW `hedera`.`myTicketService` AS + VIEW `hedera`.`myTicketService` AS select `s`.`id` AS `id`, `s`.`description` AS `description`, diff --git a/debian/changelog b/debian/changelog index 343ef91c..3d63c710 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (1.407.33) stable; urgency=low +hedera-web (1.407.34) stable; urgency=low * Initial Release. diff --git a/package.json b/package.json index f22e4bb1..352d5b03 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hedera-web", - "version": "1.407.33", + "version": "1.407.34", "description": "Verdnatura web page", "license": "GPL-3.0", "repository": { diff --git a/rest/core/account.php b/rest/core/account.php index 0e6a0cc6..fc4211a9 100644 --- a/rest/core/account.php +++ b/rest/core/account.php @@ -35,7 +35,7 @@ class Account { [$userName] ); if (!$hasAccount) - $db->getValue('DELETE FROM account.userSync WHERE name = #', + $db->query('DELETE FROM account.userSync WHERE name = #', [$userName] ); }