Index: faq_ask.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/faq_ask/faq_ask.module,v
retrieving revision 1.43
diff -u -p -r1.43 faq_ask.module
--- faq_ask.module	28 Feb 2009 19:48:41 -0000	1.43
+++ faq_ask.module	20 Mar 2009 09:53:16 -0000
@@ -391,11 +391,11 @@ function faq_ask_form_submit($form_id, $
     
       $mail_sent = drupal_mail('expert-notify', $to, t('You have a question waiting'), $body, $from, $header);
       if ($mail_sent) {
-        watchdog('FAQ_Ask', t('Expert notification email sent.') .' '. $to, WATCHDOG_NOTICE);
+        watchdog('FAQ_Ask', 'Expert notification email sent. !to', array('!to'=>$to), WATCHDOG_NOTICE);
       }
       else {
         $msg = t('Expert notification email failed for the "!cat" category.', array('!cat' => filter_xss($term->name)));
-        watchdog('FAQ_Ask', $msg .' '. $to, WATCHDOG_ERROR);
+        watchdog('FAQ_Ask', 'Expert notification email failed for the "!cat" category. !to', array( '!cat'=>filter_css($term->name), '!to'=>$to), WATCHDOG_ERROR);
         drupal_set_message($msg, 'notice');
       }
     }
@@ -978,8 +978,8 @@ function _faq_ask_delete_vocabulary($vid
   global $user;
   $name = $array['name'];
   $uname = $user->name;
-  drupal_set_message("Vocabulary '$name' is being removed from the Faq_Ask list.", 'notice');
-  watchdog('Faq_Ask', "Vocabulary $name was deleted from Faq_Ask by $uname.", WATCHDOG-NOTICE);
+  drupal_set_message(t("Vocabulary '!name' is being removed from the Faq_Ask list.",array('!name'=>$name)), 'notice');
+  watchdog('Faq_Ask', "Vocabulary !name was deleted from Faq_Ask by !uname.", array('!name'=>$name, '!uname'=>$uname), WATCHDOG-NOTICE);
   unset($my_vocs[$vid]);
   variable_set('faq_ask_vocabularies', $my_vocs);
 }
@@ -1213,4 +1213,4 @@ function faq_ask_list_more() {
   drupal_set_title(t('All Unanswered Questions'));
   $output = '<br/>';
   return _faq_ask_list_unanswered(9999999);
-}
\ No newline at end of file
+}
