Skip to content

Commit

Permalink
bugfix (prevented vis css to be published)
Browse files Browse the repository at this point in the history
  • Loading branch information
gka committed Dec 21, 2012
1 parent b62ae5e commit 66f2404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/visualizations.php
Expand Up @@ -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;
Expand Down

0 comments on commit 66f2404

Please sign in to comment.