Explorar o código

Minor - remove notice

ywarnier %!s(int64=14) %!d(string=hai) anos
pai
achega
d077843994
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      tests/simpletest/compatibility.php

+ 1 - 0
tests/simpletest/compatibility.php

@@ -21,6 +21,7 @@ class SimpleTestCompatibility {
      */
     function copy($object) {
         if (version_compare(phpversion(), '5') >= 0) {
+            $copy = null;
             eval('$copy = clone $object;');
             return $copy;
         }