Update class.Marine.php
commit74ae22631cb172d38d9cb57260ec2d76a22768ec
authorSinager <sinageruk@gmail.com>
Thu, 26 Mar 2020 08:56:29 +0000 (26 09:56 +0100)
committerGitHub <noreply@github.com>
Thu, 26 Mar 2020 08:56:29 +0000 (26 09:56 +0100)
tree858dbeae70fbe64801ab4ef153dbe1f76e3f1862
parent871605e352c9cbd909bcfa592be65c3b78b8990e
Update class.Marine.php

removed 'AND' at line 336 as this was generating bad SQL, returning this error:

Invalid query : SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND marine_output.ident = 'MARIELLA' ORDER BY marine_output.date DESC LIMIT 25 ' at line 1 Whole query: SELECT marine_output.* FROM marine_output WHERE AND marine_output.ident = :ident ORDER BY marine_output.date DESC LIMIT 25 OFFSET 0
require/class.Marine.php