1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-26 03:30:48 +03:00

Фиксы

This commit is contained in:
Mzhelskiy Maxim 2014-12-30 15:14:53 +07:00
parent 3f9e6fcd52
commit 6f5b6fe39a
2 changed files with 2 additions and 2 deletions

View file

@ -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'];

View file

@ -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();
}
}