Skip to content
Browse files

Fixed notice when array is passed. Now gives notice for strings (than…

…ks to Laurent Laville)

git-svn-id: http://svn.php.net/repository/pear/packages/HTML_Page/trunk@136064 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent 388ddd8 commit 3f5849452185a64bc323546ba5748a7070fdde4a Klaus Guenther committed Jul 27, 2003
Showing with 1 addition and 1 deletion.
  1. +1 −1 Page.php
View
2 Page.php
@@ -282,7 +282,7 @@ class HTML_Page extends HTML_Common {
* or HTML attributes name="value" pairs
* @access public
*/
- function HTML_Page($attributes = "")
+ function HTML_Page($attributes = array())
{
$commonVersion = 1.7;
if (HTML_Common::apiVersion() < $commonVersion) {

0 comments on commit 3f58494

Please sign in to comment.
Something went wrong with that request. Please try again.