Selaa lähdekoodia

Deprecated constructor fix

Robert Marshall 8 vuotta sitten
vanhempi
commit
11451fb927
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      lib/geshi/geshi.php

+ 1 - 1
lib/geshi/geshi.php

@@ -594,7 +594,7 @@ class GeSHi {
      *               {@link GeSHi->set_language_path()}
      * @since 1.0.0
      */
-    function GeSHi($source = '', $language = '', $path = '') {
+    function __construct($source = '', $language = '', $path = '') {
         if (!empty($source)) {
             $this->set_source($source);
         }