diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-04-23 09:36:30 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-04-23 09:36:30 +0000 |
| commit | 4adbcc89dc5d2471c300d11123fbb9216fa7f2d8 (patch) | |
| tree | e581d7cbe1ad676c7a7e2547086514f65c9c7196 /print_blog_post.php | |
| parent | e4990204d6a22fcdf76bb29f09016dd73623e738 (diff) | |
| download | blogs-4adbcc89dc5d2471c300d11123fbb9216fa7f2d8.tar.gz blogs-4adbcc89dc5d2471c300d11123fbb9216fa7f2d8.tar.bz2 blogs-4adbcc89dc5d2471c300d11123fbb9216fa7f2d8.zip | |
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
Diffstat (limited to 'print_blog_post.php')
| -rw-r--r-- | print_blog_post.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_blogs/print_blog_post.php,v 1.14 2007/03/26 18:09:07 wjames5 Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_blogs/print_blog_post.php,v 1.15 2007/04/23 09:36:30 squareing Exp $ * @package blogs * @subpackage functions @@ -21,7 +21,7 @@ include_once( BLOGS_PKG_PATH.'BitBlogPost.php' ); $gBitSystem->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' ); |
