]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/Drafts.pm
MetaSetup AuthSessionContent
[kivitendo-erp.git] / SL / Drafts.pm
index bf19e52d33c65d0f9deddf4131b1cf3ae2530a03..e5242aa4d48f72e61346d9053c605d69bf374440 100644 (file)
@@ -74,7 +74,7 @@ sub save {
     qq|  (SELECT id FROM employee WHERE login = ?) | .
     qq|WHERE id = ?|;
 
-  do_query($form, $dbh, $query, $draft_description, $dumped, $form->{login}, $draft_id);
+  do_query($form, $dbh, $query, $draft_description, $dumped, $::myconfig{login}, $draft_id);
 
   $dbh->commit();