Changed templateExists() to return int not bool.
This commit is contained in:
parent
ea6930bc23
commit
4060d1f19b
1 changed files with 2 additions and 2 deletions
|
@ -104,11 +104,11 @@ abstract class Display_Common extends Object
|
|||
/**
|
||||
* Template Exists
|
||||
*
|
||||
* @return boolean whether or not we have any templates defined
|
||||
* @return integer the number of templates defined
|
||||
*/
|
||||
public function templateExists()
|
||||
{
|
||||
return (boolean)count($this->templates);
|
||||
return count($this->templates);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue