mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Spells/DetailPage
* fixed rogue reference causing created items to display as a different item thx @Rushor for pointing in the right direction
This commit is contained in:
@@ -332,6 +332,7 @@ abstract class BaseType
|
||||
{
|
||||
if (isset($this->templates[$id]))
|
||||
{
|
||||
unset($this->curTpl); // kill reference or strange stuff will happen
|
||||
$this->curTpl = $this->templates[$id];
|
||||
$this->id = $id;
|
||||
return $this->templates[$id];
|
||||
|
||||
Reference in New Issue
Block a user