Version 4.3.0

This commit is contained in:
Neo committed 2025-12-19 05:47:12 -08:00
1 parent 96997ddd8e
commit fe1acf984a
1349 files changed
+116159 -67711

No files matched your search

@@ -237,7 +237,8 @@ class _BillingAgreement extends \IPS\Patterns\ActiveRecord
$this->member->log( 'billingagreement', array( 'type' => 'cancel', 'id' => $this->id, 'gw_id' => $this->gw_id ) );
$this->next_cycle = NULL;
$this->canceled = TRUE;
$this->canceled = TRUE;
$this->save();
}
/**
@@ -113,7 +113,7 @@ class _CustomField extends \IPS\CustomField
{
parent::form( $form );
if ( ! \IPS\Settings::i()->quick_register )
if ( \IPS\Login::registrationType() == 'full' )
{
/* Quick register is disabled */
$form->addHeader( 'customer_field_registration' );
@@ -189,9 +189,7 @@ class _CustomField extends \IPS\CustomField
protected static function recountCustomerFields()
{
$count = count( static::roots() );
\IPS\Db::i()->update( 'core_sys_conf_settings', array( 'conf_value' => $count ), array( 'conf_key=?', 'customer_fields' ) );
\IPS\Settings::i()->customer_fields = $count;
unset( \IPS\Data\Store::i()->settings );
\IPS\Settings::i()->changeValues( array( 'customer_fields' => $count ) );
}
/**
@@ -499,6 +499,6 @@ class _Customer extends \IPS\Member
*/
public function acpUrl()
{
return \IPS\Http\Url::internal( "app=nexus&module=customers&controller=view&id={$this->member_id}", 'admin' );
return parent::acpUrl()->setQueryString( 'tab', 'nexus_Main' );
}
}