diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-10-09 09:47:47 +0200 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2015-01-01 21:12:00 +0100 |
commit | 33c9f05c6bb90a995ddc685b4a22479f17c575e5 (patch) | |
tree | 8dd374b515eeb5e9194ab3c52e46b569cfb5f2e8 /app/models/network | |
parent | ac1584249c262e447a6360734597fa17fe077718 (diff) | |
download | gitlab-ce-33c9f05c6bb90a995ddc685b4a22479f17c575e5.tar.gz |
Append in place for strings and arrays
Diffstat (limited to 'app/models/network')
-rw-r--r-- | app/models/network/graph.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/network/graph.rb b/app/models/network/graph.rb index 43979b5e807..f13a40cf4f6 100644 --- a/app/models/network/graph.rb +++ b/app/models/network/graph.rb @@ -226,7 +226,7 @@ module Network reserved = [] for day in time_range - reserved += @reserved[day] + reserved.push(*@reserved[day]) end reserved.uniq! |