Fixed import issue
authorMarcel Werk <burntime@woltlab.com>
Wed, 21 Aug 2013 21:18:55 +0000 (23:18 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 21 Aug 2013 21:18:55 +0000 (23:18 +0200)
files/lib/system/exporter/WBB3xExporter.class.php

index 7d32ee3095c85662e04cf9120474a22b04ab4958..aed32f1e1f93db3db802ea4efece86fad0c803ef 100644 (file)
@@ -95,7 +95,7 @@ class WBB3xExporter extends AbstractExporter {
        public function init() {
                parent::init();
                
-               if (preg_match('/^wbb(\d)_(\d)_$/', $this->databasePrefix, $match)) {
+               if (preg_match('/^wbb(\d+)_(\d+)_$/', $this->databasePrefix, $match)) {
                        $this->dbNo = $match[1];
                        $this->instanceNo = $match[2];
                }