[geeklog-hg] [Geeklog-Core/geeklog] 5b836c: Use of empty function in some cases made Geeklog i...

GitHub noreply at github.com
Tue Jan 17 15:19:25 EST 2017


  Branch: refs/heads/master
  Home:   https://github.com/Geeklog-Core/geeklog
  Commit: 5b836c91f7158bcbc276b26fbee9217a5b7d8b68
      https://github.com/Geeklog-Core/geeklog/commit/5b836c91f7158bcbc276b26fbee9217a5b7d8b68
  Author: Tom Homer <tomhomer at gmail.com>
  Date:   2017-01-17 (Tue, 17 Jan 2017)

  Changed paths:
    M public_html/lib-common.php
    M system/classes/searchcriteria.class.php

  Log Message:
  -----------
  Use of empty function in some cases made Geeklog incompatible with PHP 5.5 and lower

Fix to make Search and function COM_getUserDateTimeFormat compatible
with PHP 5.3.3. Since PHP 5.5, empty supports more than variables. But
if you need it before 5.5, use trim($name) == false

See http://php.net/manual/en/function.empty.php




More information about the geeklog-cvs mailing list