mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2026-09-03 10:21:38 -04:00
When no shop, prevents unloaded page transactions from being edited.
This commit is contained in:
@@ -8,7 +8,11 @@ $change_fund = CHANGE_FUND;
|
||||
|
||||
// Is there a current shop?
|
||||
if(isset($_POST['shop_exist'])) {
|
||||
if(current_shop_by_ip()>=1) echo "current_shop"; else echo "no_shop";
|
||||
if(current_shop_by_ip()>=1) {
|
||||
echo "current_shop";
|
||||
} else {
|
||||
echo "no_shop";
|
||||
}
|
||||
}
|
||||
|
||||
// update whether paid or not
|
||||
|
||||
Reference in New Issue
Block a user