Menu

#861 Warning when string quote not properly closed

4.8.1
closed-fixed
nobody
None
5
2025-02-20
2023-06-12
No

This query:

UPDATE home
SET importLocation = 'Other Places in Bangkok' WHERE
importLocation = 'Wat Tha Phra, Bangkok Yai, Bangkok' OR
importLocation = 'Wong Sawang, Bang Sue, Bangkok

generates this warning:

Warning: Uninitialized string offset 0 in C:\xampp\htdocs\qqq\db.php on line 1584

Of course, the reason is because the last string is missing the closing quote but still, the error is not handled

Discussion

  • Peter Knut

    Peter Knut - 2024-10-04

    This is fixed in my fork: https://github.com/pematon/adminer

     
  • Jakub Vrána

    Jakub Vrána - 2025-02-20
    • status: open --> closed-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.