mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-28 20:45:00 +03:00
Фиксы
This commit is contained in:
parent
3f9e6fcd52
commit
6f5b6fe39a
|
@ -101,7 +101,7 @@ class ActionRegistration extends Action
|
|||
if (is_array($aFields)) {
|
||||
foreach ($aFields as $aField) {
|
||||
if (isset($aField['field']) and isset($aField['value'])) {
|
||||
$this->Hook_Run('registration_validate_field', array('aField' => &$aField));
|
||||
$this->Hook_Run('registration_validate_field', array('aField' => &$aField, 'oUser' => $oUser));
|
||||
|
||||
$sField = $aField['field'];
|
||||
$sValue = $aField['value'];
|
||||
|
|
|
@ -91,7 +91,7 @@
|
|||
if ( ! this.option( 'params.target_id' ) ) {
|
||||
this.option( 'params.target_tmp', this.element.data( 'tmp' ) || $.cookie( 'media_target_tmp_' + this.option( 'params.target_type' ) ) );
|
||||
|
||||
if ( this.option( 'params.target_tmp' ) ) {
|
||||
if ( !this.option( 'params.target_tmp' ) ) {
|
||||
this.generateTargetTmp();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue