Dev – Latest Updates

  • by rogercgui
    Merge pull request #668 from ABCD-DEVCOM/data-entry-corrections Use arrHttp login and clean up fmt.php
  • by rogercgui
    Use arrHttp login and clean up fmt.php Refactor fmt.php to use $arrHttp['login'] consistently instead of a separate $login variable, remove a redundant die after the Location header, and tidy/condense the record display logic (including minor changelog cleanup). Also update editor JS text in clear_field.js (change button title from 'Limpar campo' to 'Clear field') and apply […]
  • by rogercgui
    Merge pull request #667 from ABCD-DEVCOM/data-entry-corrections Add mover action and fix PHP warnings and compatibility issues
  • by rogercgui
    Fix PHP8 compatibility in fmt.php Add safety checks and minor fixes in www/htdocs/central/dataentry/fmt.php to avoid undefined index errors on PHP 8 and correct a login variable usage. Guard explode() outputs by assigning $tym_0/$tym_1/$tym_2 with isset(), and verify $valortag indexes with isset() before comparisons. Adjust control flow to ensure PlantillaDeIngreso() and ColocarMfn() are called in the […]
  • by rogercgui
    Guard against undefined Diccio index Add an isset check when outputting the hidden Diccio input to avoid PHP notices/error logs if the $arrHttp["Diccio"] key is not set. This aligns the Diccio handling with the other hidden fields (desde, toolbar) and prevents undefined index warnings at runtime.
  • by rogercgui
    Add 'mover' action and fix search count Fix these warning messages: [17-Jun-2026 22:14:41 America/Sao_Paulo] PHP Warning: Undefined variable $hasta in /ABCD2/www/htdocs/central/dataentry/c_global_ex.php on line 503 [17-Jun-2026 22:14:41 America/Sao_Paulo] PHP Warning: Undefined variable $hasta in /ABCD2/www/htdocs/central/dataentry/c_global_ex.php on line 479 [17-Jun-2026 22:14:41 America/Sao_Paulo] PHP Warning: foreach() argument must be of type array|object, null given in /ABCD2/www/htdocs/central/dataentry/c_global_ex.php on line […]
  • by rogercgui
    Merge pull request #666 from ABCD-DEVCOM/fix-strict-mode Require DB param in strict mode; update topbar
  • by rogercgui
    Require DB param in strict mode; update topbar Add a strict-mode guard in central/config_opac.php that denies access if opac_strict_mode is enabled and no ?base is provided. Refactor opac/templates/default/views/topbar.php: reformat markup, preserve ctx/base when building the home link, move and simplify authentication logic (detect online services, show logged-in user or login modal), and tidy menu rendering. […]
  • by rogercgui
    Merge pull request #665 from ABCD-DEVCOM/fix-login-undefined Fix undefined session/login and add die after redirect
  • by rogercgui
    Fix undefined session/login and add die after redirect Prevent PHP 8.1+ undefined session errors by guarding access to session/login with isset() and defaulting $login to an empty string. Add die; after header redirect checks to stop execution when $_SESSION["permiso"] is missing. Minor comment/whitespace and changelog updates in scripts_dataentry.php.
https://github.com/ABCD-DEVCOM/ABCD2/graphs/contributors