aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/migration/tool
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-11-02 18:13:11 +0100
committerJoas Schilling <nickvergessen@gmx.de>2013-11-02 18:13:11 +0100
commit414a4d587e0d19795cc621c4eb482b1c90e22251 (patch)
tree6c6af882db49bad71babecc6fdd29de1dcae2745 /phpBB/phpbb/db/migration/tool
parenta175b091b9066478900d4a1a92c3e67f33cd9b33 (diff)
downloadforums-414a4d587e0d19795cc621c4eb482b1c90e22251.tar
forums-414a4d587e0d19795cc621c4eb482b1c90e22251.tar.gz
forums-414a4d587e0d19795cc621c4eb482b1c90e22251.tar.bz2
forums-414a4d587e0d19795cc621c4eb482b1c90e22251.tar.xz
forums-414a4d587e0d19795cc621c4eb482b1c90e22251.zip
[ticket/11995] Fix Revert of config.remove
PHPBB3-11995
Diffstat (limited to 'phpBB/phpbb/db/migration/tool')
-rw-r--r--phpBB/phpbb/db/migration/tool/config.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/migration/tool/config.php b/phpBB/phpbb/db/migration/tool/config.php
index f2149dc59a..36a1931f4e 100644
--- a/phpBB/phpbb/db/migration/tool/config.php
+++ b/phpBB/phpbb/db/migration/tool/config.php
@@ -130,6 +130,10 @@ class config implements \phpbb\db\migration\tool\tool_interface
case 'remove':
$call = 'add';
+ if (sizeof($arguments) == 1)
+ {
+ $arguments[] = '';
+ }
break;
case 'update_if_equals':