From 4adbcc89dc5d2471c300d11123fbb9216fa7f2d8 Mon Sep 17 00:00:00 2001 From: Max Kremmel Date: Mon, 23 Apr 2007 09:36:30 +0000 Subject: fatalError message translation standardisation: fatalError message is not translated in the function so it has to be translated when it's passed in. this allows for dynamically changed errormessages without causing duplicate master strings --- print_blog_post.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'print_blog_post.php') diff --git a/print_blog_post.php b/print_blog_post.php index dd04503..91cf351 100644 --- a/print_blog_post.php +++ b/print_blog_post.php @@ -1,6 +1,6 @@ verifyPackage( 'blogs' ); if (!isset($_REQUEST["post_id"])) { - $gBitSystem->fatalError( 'No post indicated' ); + $gBitSystem->fatalError( tra( 'No post indicated' )); } include_once( BLOGS_PKG_PATH.'lookup_post_inc.php' ); -- cgit v1.3