File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ public static function get($vars): GraphImage
143143 $ nodetails = ! $ graph_params ->visible ('details ' );
144144 $ noagg = ! $ graph_params ->visible ('aggregate ' );
145145
146- $ rrd_options = '' ;
146+ $ rrd_options = [] ;
147147 $ rrd_filename = null ;
148148
149149 $ auth = Auth::guest (); // if user not logged in, assume we authenticated via signed url, allow_unauth_graphs or allow_unauth_graphs_cidr
@@ -168,7 +168,7 @@ public static function get($vars): GraphImage
168168 throw new RrdGraphException ('Graph Definition Error ' , 'Def Error ' , $ width , $ height );
169169 }
170170
171- $ rrd_options = $ graph_params . ' ' . $ rrd_options ;
171+ $ rrd_options = [... $ graph_params-> toRrdOptions (), ... $ rrd_options] ;
172172
173173 // Generating the graph!
174174 try {
You can’t perform that action at this time.
0 commit comments