constructors are named __construct for php8
[plewww.git] / plekit / php / details.php
index e9cbc39..72d1f6a 100644 (file)
@@ -32,7 +32,7 @@ class PlekitDetails {
   var $height;
   var $input_type;
 
-  function PlekitDetails ($editable) {
+  function __construct ($editable) {
     $this->editable=$editable;
     $this->form=NULL;
     $this->width="";