quotes'are'fun

This commit is contained in:
Tom Mortensen
2016-06-30 22:25:58 -07:00
parent 449f112ccc
commit b85b436618
+1 -1
View File
@@ -35,7 +35,7 @@ function sort_by($field, $opt, $show_disk) {
'fext' => strtolower($info['extension']),
'size' => $attr[2],
'time' => $attr[3],
'disk' => $show_disk?my_disk(exec("shopt -s dotglob ; getfattr --absolute-names --only-values -n user.LOCATIONS '$attr[1]'")):'');
'disk' => $show_disk?my_disk(exec("shopt -s dotglob ; getfattr --absolute-names --only-values -n user.LOCATIONS ".escapeshellarg($attr[1]))):'');
}
// sort by input 'field'
if ($field=='name') {