Now will properly report current shop for shop 1.

This commit is contained in:
Jonathan Rosenbaum
2014-12-31 08:18:37 +00:00
parent 9ab7723b6a
commit 06188f5dfe
+2 -1
View File
@@ -488,7 +488,8 @@ if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "ChangeDate")) {
<input type="hidden" name="MM_insert" value="ChangeDate" /> <input type="hidden" name="MM_insert" value="ChangeDate" />
</p> </p>
</form> </form>
<?php if(current_shop_by_ip()>1) echo "current shop"; else echo "no shop"; ?>
<?php if(current_shop_by_ip()>=1) echo "current shop"; else echo "no shop"; ?>
</td> </td>
</tr> </tr>
</table> </table>