i changed the fields and even if you look what is behind the icon (the link https://my_.nl/admin/catalog.php?cPath=881_647_658&pID=20926&action=set_flag&flag=0) does not work
in the flag stands this $db->query("UPDATE products SET products_status = " . (int)$_GET['flag'] . ", products_last_modified = NOW() WHERE products_id = " . (int)$_GET['pID']);
return $Admin->link('catalog.php', ['cPath' => $_GET['cPath'], 'pID' => (int)$_GET['pID']]);
it seems there is no update on the table but i have no idea why
Status Change on admin/catalog.php
Re: Status Change on admin/catalog.php
You do not have the required permissions to view the files attached to this post.
Re: Status Change on admin/catalog.php
Sorry, my mistake, i changed catalog.php and made a mistake on the valid actions
$always_valid_actions = ['set_flag', 'set_flag1', 'set_flag2', 'set_flag3', 'set_flag4', 'set_flag5', 'set_flag6', 'set_flag7', 'set_flag8', 'set_flag9', 'set_flag10', 'set_flag11', 'set_flag12' ];
Case solved and thanks for the support Bert
$always_valid_actions = ['set_flag', 'set_flag1', 'set_flag2', 'set_flag3', 'set_flag4', 'set_flag5', 'set_flag6', 'set_flag7', 'set_flag8', 'set_flag9', 'set_flag10', 'set_flag11', 'set_flag12' ];
Case solved and thanks for the support Bert