summaryrefslogtreecommitdiff
path: root/inc/parserutils.php
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2014-02-25 20:34:20 +0000
committerChristopher Smith <chris@jalakai.co.uk>2014-02-25 20:34:20 +0000
commit5b76ad9103ca8e25d29c5ce018859be6679b7b1c (patch)
tree6e1ccf712de79a95037ec9bdbcfbf1b7678c10c6 /inc/parserutils.php
parent548d801fe28808c85529c4e396ccc563550d4634 (diff)
downloadrpg-5b76ad9103ca8e25d29c5ce018859be6679b7b1c.tar.gz
rpg-5b76ad9103ca8e25d29c5ce018859be6679b7b1c.tar.bz2
code cleaning - add some braces
Diffstat (limited to 'inc/parserutils.php')
-rw-r--r--inc/parserutils.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/parserutils.php b/inc/parserutils.php
index 7a85b64e3..c12732e88 100644
--- a/inc/parserutils.php
+++ b/inc/parserutils.php
@@ -430,8 +430,9 @@ function p_render_metadata($id, $orig){
global $ID, $METADATA_RENDERERS;
// avoid recursive rendering processes for the same id
- if (isset($METADATA_RENDERERS[$id]))
+ if (isset($METADATA_RENDERERS[$id])) {
return $orig;
+ }
// store the original metadata in the global $METADATA_RENDERERS so p_set_metadata can use it
$METADATA_RENDERERS[$id] =& $orig;