Version 4.7.13

This commit is contained in:
Neo committed 2025-12-19 16:14:56 -08:00
1 parent fd22d99e69
commit 7124a02564
954 files changed
+29277 -59308

No files matched your search

@@ -87,7 +87,11 @@ class _gifts extends \IPS\Dispatcher\Controller
/* Handle submissions */
if ( $values = $form->values() )
{
if( ! abs( $values['gift_voucher_amount'] ) )
if( ! \is_numeric( $values['gift_voucher_amount'] ) )
{
$form->error = \IPS\Member::loggedIn()->language()->addToStack( 'gift_voucher_invalid_value' );
}
elseif( ! abs( $values['gift_voucher_amount'] ) )
{
$form->error = \IPS\Member::loggedIn()->language()->addToStack( 'gift_voucher_invalid_amount' );
}
@@ -126,7 +126,7 @@ class _product extends \IPS\Content\Controller
{
try
{
$shipAddress = \IPS\GeoLocation::getByIp( \IPS\Request::i()->ipAddress() );
$shipAddress = \IPS\GeoLocation::getRequesterLocation();
$locationType = 'geo';
}
catch ( \Exception $e ) { }