Fix the last deprecation notices on class names for PHP 7+ (#26)
[timetracker.git] / plugins / CustomFields.class.php
index e1b42b8..ddd1c4d 100644 (file)
@@ -37,7 +37,7 @@ class CustomFields {
   var $options = array(); // Array of options for a dropdown custom field.
   
   // Constructor.
-  function CustomFields($team_id) {
+  function __construct($team_id) {
        $mdb2 = getConnection();
        
        // Get fields.