Skip to content

Commit

Permalink
Clean up Google charts, merged into 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
waxpancake authored and ginatrapani committed Mar 23, 2012
1 parent a15e144 commit 946e51b
Show file tree
Hide file tree
Showing 5 changed files with 434 additions and 180 deletions.
2 changes: 1 addition & 1 deletion webapp/_lib/model/class.Utils.php
Expand Up @@ -457,7 +457,7 @@ public static function getHotPostVisualizationData($hot_posts, $network) {
$resultset = array();
foreach ($hot_posts as $post) {
$resultset[] = array('c' => array(
array('v' => $post->post_text),
array('v' => substr($post->post_text, 0, 100) . '...'),
array('v' => intval($post->$approval_field)),
array('v' => intval($post->reply_count_cache)),
));
Expand Down

0 comments on commit 946e51b

Please sign in to comment.