@@ -353,8 +357,13 @@ function create_notification() {
,'html'=>$html
,'attachments'=>$attachments
));
add_post_meta($id,"system",$system);
add_post_meta($id,"sms",$sms);
update_post_meta($id,"system",array(
'system_message_type'=>$system_message_type
,'message'=>$system
));
update_post_meta($id,"sms",array(
'message'=>$sms
));
$flash="<strong>Notification Saved Successfully!</strong><br /><a href='/wp-admin/admin.php?page=notifications'>Click here</a> to view all notifications.</a>";