Commit 1c8dbc7c authored by Adam Rambousek's avatar Adam Rambousek
Browse files

fix #154 proces smazani

parent 9e1ea891
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1007,8 +1007,8 @@ def do_GET(request, response)
      xml = @dict.get(id)
      if xml != ''
        doc = @dict.load_xml_string(xml)
        doc.root['wait_for'] = 'hl_redaktor,obor_redaktor,obor_revizor'
        doc.root['status'] = 'to_delete'
        doc.root['wait_for'] = 'tajemnik'
        doc.root['status'] = 'delete_tajemnik'
        doc.root << XML::Node.new('notes') if doc.find('notes').length == 0
        newnote = XML::Node.new('note')
        newnote['author'] = user