mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Removed notices that revealed themselfes over night ... (#5645)
* Removed notices that revealed themselfes over night ... * And more notices removed that occured over night * One more .. * Some more notices of the day ...
This commit is contained in:
parent
5a171c0afd
commit
54aee2aaa7
10 changed files with 43 additions and 22 deletions
|
@ -371,7 +371,7 @@ function drop_item($id)
|
|||
|
||||
if ((local_user() == $item['uid']) || $contact_id) {
|
||||
// Check if we should do HTML-based delete confirmation
|
||||
if ($_REQUEST['confirm']) {
|
||||
if (!empty($_REQUEST['confirm'])) {
|
||||
// <form> can't take arguments in its "action" parameter
|
||||
// so add any arguments as hidden inputs
|
||||
$query = explode_querystring($a->query_string);
|
||||
|
@ -395,7 +395,7 @@ function drop_item($id)
|
|||
]);
|
||||
}
|
||||
// Now check how the user responded to the confirmation query
|
||||
if ($_REQUEST['canceled']) {
|
||||
if (!empty($_REQUEST['canceled'])) {
|
||||
goaway(System::baseUrl() . '/' . $_SESSION['return_url']);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue