mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-20 14:29:48 +02:00
[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
This commit is contained in:
parent
2aec6bb07c
commit
234b891a4b
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user