Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

bugfix (prevented vis css to be published)

  • Loading branch information...
commit 66f240470eae438c1e68388217510709dcc5b4dd 1 parent b62ae5e
@gka gka authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/utils/visualizations.php
View
2  lib/utils/visualizations.php
@@ -21,7 +21,7 @@ function get_visualization_meta($id, $path='') {
if (file_exists($vis_path)) {
$meta = json_decode(file_get_contents($vis_path), true);
$meta['id'] = $id;
- $meta['hasCSS'] = file_exists('static/visualizations/' . $id . '/style.css');
+ $meta['hasCSS'] = file_exists($path . 'static/visualizations/' . $id . '/style.css');
return $meta;
}
return false;
Please sign in to comment.
Something went wrong with that request. Please try again.