Commit 13246be3 authored by Mario's avatar Mario

Merge branch 'patch-20181027a' into 'dev'

Fix: Don't allow items to be added unless user is logged into the Grid.

See merge request hubzilla/addons!151
parents e39cbd7e 37f7b29f
......@@ -1312,6 +1312,9 @@ function cart_init() {
function cart_post_add_item () {
//@TODO: Add output of errors someplace
if (!get_observer_hash()) {
$item_sku = preg_replace('[^0-9A-Za-z\-]','',$_POST["add"]);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment