Permalink
Browse files

bugfix (prevented vis css to be published)

  • Loading branch information...
1 parent b62ae5e commit 66f240470eae438c1e68388217510709dcc5b4dd @gka gka committed Dec 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit 66f2404

Please sign in to comment.