Author Topic: Bug to fix.  (Read 574 times)

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4387
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Bug to fix.
« on: August 27, 2018, 01:04:02 am »
Can someone in the dev team update the code in the file JOOMLAROOT/administrator/components/com_virtuemart/models/customfields.php line 1076
Because the code add a PHP error each time in log when the  $datas['field'] is empty but set(eg. on cloning).
Code: [Select]
if (array_key_exists('field', $datas)) {To
Code: [Select]
if (!empty( $datas['field'])) {This is the case on cloning(and perhaps on save) but is nt visible because Virtuemart redirect.
But i have in some shop plenty of errors because this when i enable php error log file.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10076
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Bug to fix.
« Reply #1 on: September 04, 2018, 18:53:13 pm »
Thx, done
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/