diff --git a/lib/classes/databox.php b/lib/classes/databox.php index 54c6edfd2b..ae22fafc82 100644 --- a/lib/classes/databox.php +++ b/lib/classes/databox.php @@ -148,7 +148,7 @@ class databox extends base } if (!$row) { - throw new NotFoundHttpException(sprintf('databox %d not found', $sbas_id)); + throw new NotFoundHttpException(sprintf('databox %d not found', $this->id)); } $this->ord = $row['ord'];