summaryrefslogtreecommitdiff
path: root/modules/digibug/controllers
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-08-29 12:48:40 -0700
committerAndy Staudacher <andy.st@gmail.com>2009-08-29 12:48:40 -0700
commitc01ac42c4604b3b129e8089e0dc683ebd418b380 (patch)
tree87c688c638733e7d8a8215bc5f4ee89d0f598c62 /modules/digibug/controllers
parenta10063ff68cf5988297dcad889384ab2080c3850 (diff)
Refactor all calls of p::clean() to SafeString::of() and p::purify() to SafeString::purify().
Removing any p::clean() calls for arguments to t() and t2() since their args are wrapped in a SafeString anyway.
Diffstat (limited to 'modules/digibug/controllers')
-rw-r--r--modules/digibug/controllers/digibug.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/digibug/controllers/digibug.php b/modules/digibug/controllers/digibug.php
index e0f4b6bf..509a8b70 100644
--- a/modules/digibug/controllers/digibug.php
+++ b/modules/digibug/controllers/digibug.php
@@ -50,7 +50,7 @@ class Digibug_Controller extends Controller {
"image_width_1" => $item->width,
"thumb_height_1" => $item->thumb_height,
"thumb_width_1" => $item->thumb_width,
- "title_1" => p::purify($item->title));
+ "title_1" => SafeString::purify($item->title));
print $v;
}