Skip to content

Trash can not loading deleted data from plugin #97

Description

@SeditioCMS

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;
			}
		}
} `

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions