diff options
author | chriskl | 2004-05-23 09:43:28 +0000 |
---|---|---|
committer | chriskl | 2004-05-23 09:43:28 +0000 |
commit | de9c463d605c92646a64ec6914b9be38a7b8cf33 (patch) | |
tree | e746140a96b3d1c54f764ea2ef39db9406a6f8cf | |
parent | 061339b087bf9bb3291144833a1cf9032637881d (diff) |
fix php5 bug reported by Rui Martins
-rw-r--r-- | classes/class.select.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/class.select.php b/classes/class.select.php index ab1c67e4..057c8d6e 100644 --- a/classes/class.select.php +++ b/classes/class.select.php @@ -31,17 +31,17 @@ class XHtmlSimpleElement { } function set_style($style) { - $this->set_attribute("style", $style); + $this->set_attribute('style', $style); } function set_class($class) { - $this->set_attribute("class", $class); + $this->set_attribute('class', $class); } function is_element() { return - str_replace("xhtml_", "", get_class($this)); + str_replace('xhtml_', '', strtolower(get_class($this))); } /** |