mirror of
https://github.com/nishiki/manage-password.git
synced 2025-02-22 10:50:10 +00:00
fix bug add group
This commit is contained in:
parent
c5ec87dc74
commit
c412aae362
1 changed files with 4 additions and 4 deletions
2
MPW.rb
2
MPW.rb
|
@ -228,7 +228,7 @@ class MPW
|
||||||
row[ID] = id
|
row[ID] = id
|
||||||
row[PORT] = port
|
row[PORT] = port
|
||||||
row[NAME] = name.force_encoding('ASCII-8BIT')
|
row[NAME] = name.force_encoding('ASCII-8BIT')
|
||||||
group.nil? ? (row[GROUP] = nil) : (row[SERVER] = server.force_encoding('ASCII-8BIT'))
|
row[GROUP] = group.force_encoding('ASCII-8BIT')
|
||||||
server.nil? ? (row[SERVER] = nil) : (row[SERVER] = server.force_encoding('ASCII-8BIT'))
|
server.nil? ? (row[SERVER] = nil) : (row[SERVER] = server.force_encoding('ASCII-8BIT'))
|
||||||
protocol.nil? ? (row[PROTOCOL] = nil) : (row[PROTOCOL] = protocol.force_encoding('ASCII-8BIT'))
|
protocol.nil? ? (row[PROTOCOL] = nil) : (row[PROTOCOL] = protocol.force_encoding('ASCII-8BIT'))
|
||||||
login.nil? ? (row[LOGIN] = nil) : (row[LOGIN] = login.force_encoding('ASCII-8BIT'))
|
login.nil? ? (row[LOGIN] = nil) : (row[LOGIN] = login.force_encoding('ASCII-8BIT'))
|
||||||
|
|
Loading…
Add table
Reference in a new issue