Fix: #3513 Profile schema cache not refreshed after adding new profile field

This commit is contained in:
buddh4 2019-05-03 15:37:16 +02:00
parent 1af27b41d3
commit 5300874f64
2 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@ HumHub Change Log
- Chng: Switched from [bootstrap-tour](https://github.com/sorich87/bootstrap-tour) to [bootstrap-tourist](https://github.com/IGreatlyDislikeJavascript/bootstrap-tourist) due to incompatibility to bootstrap v3.4.1
- Enh: Added `humhub.modules.tour` module for handling tour logic
- Fix: Added PHP 7.3 compatibility workaround for ZF2 ArrayObject
- Fix: #3513 Profile schema cache not refreshed after adding new profile field
1.3.12 (March 26, 2019)

View File

@ -193,7 +193,7 @@ class BaseType extends Model
throw new Exception('Could not save profile field!');
}
// Clear Database Schema
Yii::$app->getDb()->getSchema()->getTableSchema(Profile::tableName(), true);
Yii::$app->getDb()->getSchema()->refreshTableSchema(Profile::tableName());
return true;
}