remove jsondecode
authorGautier Thibault <gthibault@universcine.com>
Wed, 14 Apr 2010 18:13:17 +0200
changeset 49 ec1fec8293ab
parent 48 2c84c98aacb6
child 52 cd141ba2fad8
remove jsondecode
web/thdProject/apps/frontend/modules/search/templates/_searchList.php
--- a/web/thdProject/apps/frontend/modules/search/templates/_searchList.php	Wed Apr 14 17:39:11 2010 +0200
+++ b/web/thdProject/apps/frontend/modules/search/templates/_searchList.php	Wed Apr 14 18:13:17 2010 +0200
@@ -11,7 +11,7 @@
 		// image file
 		$video_file = $item->getVideos();
 		// directors list
-		$directors = json_decode($item->getDirectorsArray(), true);
+		$directors = $item->getDirectorsArray();
 	?>
 	<li class="film-item">	
 		<div id="player-<?php echo $ref; ?>" class="player-item" style="background:transparent url('<?php echo image_path('posters/'.$image_file[0]['file'].'.jpg'); ?>') no-repeat;" href="<?php echo video_path($video_file[0]['file']);?>">