From bab51347b8c851e20f0d47eea4dd23e8e298043b Mon Sep 17 00:00:00 2001 From: phl0 Date: Thu, 19 Jan 2023 20:14:04 +0100 Subject: [PATCH] Fix syntax error --- application/models/Logbook_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index 92739def..7630caa4 100755 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -2990,7 +2990,7 @@ class Logbook_model extends CI_Model { $a = substr($a, 0, -1); # Remove the / at the end } if ($c) { - $c = substr($c, 1,); # Remove the / at the beginning + $c = substr($c, 1); # Remove the / at the beginning }; # In some cases when there is no part A but B and C, and C is longer than 2