Skip to content

Commit

Permalink
Copy pasted the wrong code from some tstenvironment to the production…
Browse files Browse the repository at this point in the history
… system, fixes #1229
  • Loading branch information
rota committed Nov 21, 2011
1 parent dd766be commit bb1cdec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/SpotPosting.php
Expand Up @@ -180,7 +180,7 @@ public function postSpot($user, $spot, $imageFilename, $nzbFilename) {
* encode the UTF-8 characters so we can properly post the spots
*/
if (mb_detect_encoding($spot['title'], 'UTF-8, ISO-8859-1', true) == 'UTF-8') {
$spot['title'] = mb_convert_encoding($x, 'HTML-ENTITIES', 'UTF-8');
$spot['title'] = mb_convert_encoding($spot['title'], 'HTML-ENTITIES', 'UTF-8');
} # if

/*
Expand Down

0 comments on commit bb1cdec

Please sign in to comment.