Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trash can not loading deleted data from plugin #97

Open
SeditioCMS opened this issue Mar 16, 2024 · 0 comments
Open

Trash can not loading deleted data from plugin #97

SeditioCMS opened this issue Mar 16, 2024 · 0 comments
Labels

Comments

@SeditioCMS
Copy link

SeditioCMS commented Mar 16, 2024

It does not restore the plugins' data, how do we fix this?
Screenshot_1

` if ($a == 'sil' && $usr['isadmin'])
{
sed_check_xg();
if ($a == 'del')
{
$sql = sed_sql_query("SELECT * FROM $db_down WHERE siparis_id='$id' LIMIT 1");

		if ($row = sed_sql_fetchassoc($sql))
			{
			if ($cfg['trash_page'])
				{ sed_trash_put('shop admin', "#".$id, $id, $row); }

			$sql = sed_sql_query("DELETE FROM $db_down WHERE siparis_id='$id'");
			
			sed_log("Deleted shop admin #".$id, 'isl');
			sed_redirect(sed_url("admin", "m=tools&p=shop", "", true));
			exit;
			}
		}
} `
@avego avego added the question label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants