From b1bcfe8a9b6f4ff380a24f377b6f20768be8f745 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 26 Sep 2019 16:26:28 -0400 Subject: [PATCH] fix backtrace --- web/includes/Object.php | 1 + 1 file changed, 1 insertion(+) diff --git a/web/includes/Object.php b/web/includes/Object.php index bc18476fd..fec0a3ff5 100644 --- a/web/includes/Object.php +++ b/web/includes/Object.php @@ -92,6 +92,7 @@ class ZM_Object { if ( is_integer($options['limit']) or ctype_digit($options['limit']) ) { $sql .= ' LIMIT ' . $options['limit']; } else { + $backTrace = debug_backtrace(); Error('Invalid value for limit('.$options['limit'].') passed to '.get_class()."::find from ".print_r($backTrace,true)); return array(); }