mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-26 20:08:55 +00:00
Another warning fix ...
git-svn-id: file:///svn/phpbb/trunk@2006 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
88865f63ee
commit
0a120aea72
1 changed files with 4 additions and 2 deletions
|
@ -432,9 +432,11 @@ class Template {
|
||||||
// Get a reference to the data block for this namespace.
|
// Get a reference to the data block for this namespace.
|
||||||
$varref = $this->generate_block_data_ref($namespace, true);
|
$varref = $this->generate_block_data_ref($namespace, true);
|
||||||
// Prepend the necessary code to stick this in an echo line.
|
// Prepend the necessary code to stick this in an echo line.
|
||||||
$varref = '\' . ' . $varref;
|
|
||||||
// Append the variable reference.
|
// Append the variable reference.
|
||||||
$varref .= '[\'' . $varname . '\'] . \'';
|
$varref .= '[\'' . $varname . '\']';
|
||||||
|
|
||||||
|
$varref = '\' . ( ( isset(' . $varref . ') ) ? ' . $varref . ' : \'\' ) . \'';
|
||||||
|
|
||||||
return $varref;
|
return $varref;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue