Verknüpfte Belege: beliebige Verknüpfungen hinzufügen können
[kivitendo-erp.git] / SL / DBUpgrade2.pm
index a84f6b1..8321031 100644 (file)
@@ -169,7 +169,7 @@ sub process_query {
           pop(@quote_chars);
         } elsif (length $quote_chars[-1] > 1
              &&  substr($_, $i, length $quote_chars[-1]) eq $quote_chars[-1]) {
-          $i   += length $quote_chars[-1] - 1;
+          $i   += length($quote_chars[-1]) - 1;
           $char = $quote_chars[-1];
           pop(@quote_chars);
         }