[MKDoc-commit] [1.6] roll back 'make username work' patch and fix add_data() to ignore

bruno at mkdoc.demon.co.uk bruno at mkdoc.demon.co.uk
Wed May 11 16:41:28 BST 2005


Log Message:
-----------
[1.6] roll back 'make username work' patch and fix add_data() to ignore first entry

Tags:
----
mkdoc-1-6

Modified Files:
--------------
    mkd/flo/plugin/Admin:
        UserCSV.pm

-------------- next part --------------
Index: UserCSV.pm
===================================================================
RCS file: /var/spool/cvs/mkd/flo/plugin/Admin/Attic/UserCSV.pm,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -Lflo/plugin/Admin/UserCSV.pm -Lflo/plugin/Admin/UserCSV.pm -u -r1.1.2.2 -r1.1.2.3
--- flo/plugin/Admin/UserCSV.pm
+++ flo/plugin/Admin/UserCSV.pm
@@ -81,7 +81,7 @@
 
 # hooks for sub-classes
 sub add_headers {@_[1..$#_]}
-sub add_data    {@_[1..$#_]}
+sub add_data    {@_[2..$#_]}
 
 # return the CSV to the user
 sub http_get {
@@ -199,7 +199,7 @@
     # language membership
     push @data, map { $self->language_setting($user, $_) } @$language_ids;
 
-    return $self->add_data(@data);
+    return $self->add_data($user, @data);
 }
 
 # print a CSV row with error checking


More information about the MKDoc-commit mailing list