mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2026-09-03 02:11:38 -04:00
Provides error correction for no current shop.
This commit is contained in:
@@ -1,9 +1,15 @@
|
||||
<?php
|
||||
|
||||
require_once('../Connections/database_functions.php');
|
||||
require_once('../Connections/YBDB.php');
|
||||
mysql_select_db($database_YBDB, $YBDB);
|
||||
|
||||
|
||||
// Is there a current shop?
|
||||
if(isset($_POST['shop_exist'])) {
|
||||
if(current_shop_by_ip()>=1) echo "current_shop"; else echo "no_shop";
|
||||
}
|
||||
|
||||
// update whether paid or not
|
||||
if(isset($_POST['paid'])) {
|
||||
if ($_POST['paid'] == 1) {
|
||||
|
||||
Reference in New Issue
Block a user