# HG changeset patch
# User Kitty Barnett <develop@catznip.com>
# Date 1288048981 -7200
# Node ID 1a30f5a048f8112fbdba854eeb5107ddc724da8d
# Parent  0dcc6adefd55db9e3ce2a093ad6d6c30fdd62200
[VWR-23993] (Un)checking "Custom Port" in preferences shows a notification that can't be dismissed

diff --git a/indra/llui/llnotifications.cpp b/indra/llui/llnotifications.cpp
--- a/indra/llui/llnotifications.cpp
+++ b/indra/llui/llnotifications.cpp
@@ -26,10 +26,11 @@
 
 #include "linden_common.h"
 
 #include "llnotifications.h"
 #include "llnotificationtemplate.h"
+#include "llnotificationsutil.h"
 
 #include "llavatarnamecache.h"
 #include "llinstantmessage.h"
 #include "llcachename.h"
 #include "llxmlnode.h"
@@ -1397,11 +1398,11 @@ bool LLNotifications::loadTemplates()
 }
 
 // Add a simple notification (from XUI)
 void LLNotifications::addFromCallback(const LLSD& name)
 {
-	add(LLNotification::Params().name(name.asString()));	
+	LLNotificationsUtil::add(name.asString());
 }
 
 LLNotificationPtr LLNotifications::add(const std::string& name, 
 									   const LLSD& substitutions, 
 									   const LLSD& payload)
