Explorar o código

Fixed undefined variable error.

Alan Lam %!s(int64=8) %!d(string=hai) anos
pai
achega
dcd2a6915e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      views/user.php

+ 1 - 0
views/user.php

@@ -218,6 +218,7 @@ var userId = <?=$user->id?>;
 			</thead>
 		<?php
 		foreach($completed_tests as $test) {
+			$project = $test->getProject();
 			$location = $test->getLocation();
 			$date = explode(" ", $test->dts_start)[0];
 			$date = date("d/m/Y", strtotime($date));