diff options
| author | Oleg Pudeyev <oleg@bsdpower.com> | 2011-05-01 03:14:11 -0400 |
|---|---|---|
| committer | Oleg Pudeyev <oleg@bsdpower.com> | 2011-05-01 03:14:11 -0400 |
| commit | 234b891a4be11dc0f20d93dd272242ad20344aa0 (patch) | |
| tree | 3eecd32aeb80bc0cc1b47cf3b56156d76400947b /phpBB/includes | |
| parent | 2aec6bb07cee438709e569b1cb3733ff3c9170b2 (diff) | |
| download | forums-234b891a4be11dc0f20d93dd272242ad20344aa0.tar forums-234b891a4be11dc0f20d93dd272242ad20344aa0.tar.gz forums-234b891a4be11dc0f20d93dd272242ad20344aa0.tar.bz2 forums-234b891a4be11dc0f20d93dd272242ad20344aa0.tar.xz forums-234b891a4be11dc0f20d93dd272242ad20344aa0.zip | |
[feature/template-engine] Fixed description of assign_display().
This function returns false on failure, which can happen if
display() failed. Document the failure return value.
PHPBB3-9726
Diffstat (limited to 'phpBB/includes')
| -rw-r--r-- | phpBB/includes/template.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php index b07e77989c..ac37dc3dd2 100644 --- a/phpBB/includes/template.php +++ b/phpBB/includes/template.php @@ -299,7 +299,7 @@ class phpbb_template * @param string $template_var Template variable to assign compiled handle to * @param bool $return_content If true return compiled handle, otherwise assign to $template_var * @param bool $include_once Allow multiple inclusions of the file - * @return bool|string If $return_content is true return string of the compiled handle, otherwise return true + * @return bool|string false on failure, otherwise if $return_content is true return string of the compiled handle, otherwise return true */ public function assign_display($handle, $template_var = '', $return_content = true, $include_once = false) { |
