fix scope
authorMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 15 Jul 2010 15:40:01 +0000 (11:40 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 15 Jul 2010 15:40:01 +0000 (11:40 -0400)
framework/Notification/lib/Horde/Notification/Event/Status.php

index 153a5d7..cea2945 100644 (file)
@@ -32,7 +32,7 @@ class Horde_Notification_Event_Status extends Horde_Notification_Event
         $text = $this->message;
 
         if (!in_array('content.raw', $this->flags)) {
-            $text = htmlspecialchars($text, ENT_COMPAT, $charset);
+            $text = htmlspecialchars($text, ENT_COMPAT, $this->charset);
         }
 
         return $text;