Skip to content

Commit

Permalink
strip newline of ustream description text
Browse files Browse the repository at this point in the history
  • Loading branch information
kazy111 committed Aug 27, 2012
1 parent dac30eb commit 39aa3bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions check.php
Expand Up @@ -160,6 +160,7 @@ function update_ustream($pid, $id, $login, $live_st, $title){
$change_flag = ($chs[$pid]['live']=='t' || $chs[$pid]['live']=='1') ^ $live_st;
$viewer = $live_st ? get_ustream_member($login, $id) : 0;
$thumb = 'http://static-cdn2.ustream.tv/i/channel/live/1_'.$id.',192x108,b.jpg';
$title = str_replace(array("\r\n", "\n", "\r"), ' ', $title);
if($live_st || $change_flag)
log_print("<b>name:</b> ".$login." / ".$viewer);

Expand Down

0 comments on commit 39aa3bd

Please sign in to comment.