aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/template/context.php
diff options
context:
space:
mode:
authorluzpaz <luzpaz@@users.noreply.github.com>2017-08-15 15:00:12 -0400
committerMarc Alexander <admin@m-a-styles.de>2019-05-08 22:20:56 +0200
commita9a28859d4852be72ce782d079ee3183c4d54852 (patch)
tree62a8aebf2afbdd858421a70741827886425b56ee /phpBB/phpbb/template/context.php
parent62921c066cb66df35846fe5c9d576f4bb16f825a (diff)
downloadforums-a9a28859d4852be72ce782d079ee3183c4d54852.tar
forums-a9a28859d4852be72ce782d079ee3183c4d54852.tar.gz
forums-a9a28859d4852be72ce782d079ee3183c4d54852.tar.bz2
forums-a9a28859d4852be72ce782d079ee3183c4d54852.tar.xz
forums-a9a28859d4852be72ce782d079ee3183c4d54852.zip
[ticket/15424] Multiple typo fixes in docs & comments
Fixed typos in some docs, guidelines, some non-user-facing files. PHPBB3-15424
Diffstat (limited to 'phpBB/phpbb/template/context.php')
-rw-r--r--phpBB/phpbb/template/context.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/template/context.php b/phpBB/phpbb/template/context.php
index 202e29ce00..f059c327c1 100644
--- a/phpBB/phpbb/template/context.php
+++ b/phpBB/phpbb/template/context.php
@@ -87,7 +87,7 @@ class context
}
/**
- * Retreive a single scalar value from a single key.
+ * Retrieve a single scalar value from a single key.
*
* @param string $varname Variable name
* @return mixed Variable value, or null if not set
@@ -149,7 +149,7 @@ class context
{
// If the key name is lowercase and the data is an array,
// it could be a template loop. So we set the S_NUM_ROWS there
- // aswell.
+ // as well.
if ($sub_block_name === strtolower($sub_block_name) && is_array($sub_block))
{
$this->set_num_rows($sub_block);