diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2018-06-17 11:35:08 +0200 | 
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2018-06-17 11:35:08 +0200 | 
| commit | ff171f3a3b64e9daa26753f1d652272e55c325b3 (patch) | |
| tree | db74f30bec467fabcc12e6874fef8e9a12b084ea /phpBB/phpbb | |
| parent | 57cb513b8b8ede1813a1bc8eb1c6cb00fc109ade (diff) | |
| parent | aa9d24ad3176a2fa0551a65355c05208774eeb6b (diff) | |
| download | forums-ff171f3a3b64e9daa26753f1d652272e55c325b3.tar forums-ff171f3a3b64e9daa26753f1d652272e55c325b3.tar.gz forums-ff171f3a3b64e9daa26753f1d652272e55c325b3.tar.bz2 forums-ff171f3a3b64e9daa26753f1d652272e55c325b3.tar.xz forums-ff171f3a3b64e9daa26753f1d652272e55c325b3.zip  | |
Merge pull request #5158 from kasimi/ticket/15586
[ticket/15586] Fixed adding module the automatic way without specifying modes
Diffstat (limited to 'phpBB/phpbb')
| -rw-r--r-- | phpBB/phpbb/db/migration/tool/module.php | 6 | 
1 files changed, 0 insertions, 6 deletions
diff --git a/phpBB/phpbb/db/migration/tool/module.php b/phpBB/phpbb/db/migration/tool/module.php index e24c78e228..3893935723 100644 --- a/phpBB/phpbb/db/migration/tool/module.php +++ b/phpBB/phpbb/db/migration/tool/module.php @@ -519,12 +519,6 @@ class module implements \phpbb\db\migration\tool\tool_interface  		// Allow '' to be sent as 0  		$parent_id = $parent_id ?: 0; -		// If automatic adding is in action, convert array back to string to simplify things -		if (is_array($data) && count($data) == 1) -		{ -			$data = $data['module_langname']; -		} -  		if (!is_numeric($parent_id))  		{  			// Refresh the $module_categories array  | 
