Fixed potentially undefined variable
authorMarcel Werk <burntime@woltlab.com>
Wed, 22 May 2019 10:01:16 +0000 (12:01 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 22 May 2019 10:01:16 +0000 (12:01 +0200)
files/lib/system/exporter/VB5xExporter.class.php

index 720ce90246010144836b2d1a331037856c56ab69..4a023a526f86a1251e19ec80b33e12f3317f2e4e 100644 (file)
@@ -309,6 +309,9 @@ class VB5xExporter extends AbstractExporter {
                                else if ($row['scheme'] == 'legacy') {
                                        $password = 'vb5:'.implode(':', explode(' ', $row['token'], 2));
                                }
+                               else {
+                                       continue;
+                               }
                                
                                $passwordUpdateStatement->execute([$password, $newUserID]);
                        }