Skip to content

Commit

Permalink
qnd: async notifier: when the notification has no data getDataAsArray…
Browse files Browse the repository at this point in the history
… should return null

git-svn-id: svn+ssh://kelev.kaltura.com/usr/local/kalsource/backend/server/trunk/core@73188 6b8eccd3-e8c5-4e7d-8186-e12b5326b719
  • Loading branch information
erank committed Nov 22, 2011
1 parent 9d0599d commit e2173c1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions batch/batches/Notifier/KAsyncNotifierParamsUtils.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ public static function prepareNotificationData($url, $signature_key, KalturaBatc
*/
public static function getDataAsArray($serialized_data)
{
if (empty($serialized_data))
return null;

if(is_array($serialized_data))
return $serialized_data;

Expand Down

0 comments on commit e2173c1

Please sign in to comment.