diff --git a/lib/phplib/CT_Cache.class.php b/lib/phplib/CT_Cache.class.php
index 3bb3ff95ebdda38cfebedb01ee202a28ed9a1509..8b51fbe32378debd61535727a94f807b067a37b1 100644
--- a/lib/phplib/CT_Cache.class.php
+++ b/lib/phplib/CT_Cache.class.php
@@ -25,7 +25,7 @@ class CT_Cache {
         return $this->ac_get_value($str) === false ? $str : false;
     }
 
-    function ac_store($id, $name = null, $str) {
+    function ac_store($id, $name, $str) {
         $cache_key = self::CACHE_KEY_PREFIX . '/' . $id;
         return $this->cache->write($cache_key, $str, self::SESSION_LIFETIME);
     }
@@ -51,7 +51,6 @@ class CT_Cache {
     function ac_get_changed($id, $name = null) {
     }
 
-    function ac_set_changed($id, $name = null, $timestamp) {
+    function ac_set_changed($id, $name, $timestamp) {
     }
 }
-?>
diff --git a/lib/phplib/CT_Sql.class.php b/lib/phplib/CT_Sql.class.php
index debf46d02a8070c03dd134349ed3f5dcbb5a81fa..220af2241d8371541c5c6de0e1ccb1e566720160 100644
--- a/lib/phplib/CT_Sql.class.php
+++ b/lib/phplib/CT_Sql.class.php
@@ -79,7 +79,7 @@ class CT_Sql {
         return $rs->fetchColumn();
     }
     
-    function ac_set_changed($id, $name = null, $timestamp){
+    function ac_set_changed($id, $name, $timestamp){
         $db = DBManager::get();
         $stmt = $db->prepare(sprintf("UPDATE %s SET changed = FROM_UNIXTIME(?) WHERE sid  = ?", $this->database_table));
         $stmt->execute([$timestamp, $id]);
@@ -99,4 +99,3 @@ class CT_Sql {
     function ac_halt($s) {
     }
 }
-?>