Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2008
    Qld, Australia
    Plugin Contributions

    Default Admin | Customers edit customer undefined key when customer fax turned off

    zc157d vanilla with PHP 8.0

    Minor bug
    Warning Undefined array key "customers_fax" in admin\customers.php on line 92.

    This occurs when Admin | Configuration | Customer Details | Fax Number = false
    and Customer Details are edited.

    I changed (changes in red)
    $customers_fax = zen_db_prepare_input($_POST['customers_fax'] );
    $customers_fax = zen_db_prepare_input(($_POST['customers_fax'] ?? ''));

  2. #2
    Join Date
    Aug 2007
    Gijón, Asturias, Spain
    Plugin Contributions

    Default Re: Admin | Customers edit customer undefined key when customer fax turned off

    Most of these things have already been dealt with on Github, always worth having a search in the issues there first:
    Steve Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto, Product Listing Sorter...



Similar Threads

  1. customer tele required though turned off
    By fotofix in forum Basic Configuration
    Replies: 2
    Last Post: 2 Jul 2011, 11:21 AM
  2. Featured Products showing price even when turned off in admin.
    By Nineve in forum Customization from the Admin
    Replies: 1
    Last Post: 28 Jul 2010, 05:50 PM
  3. Replies: 1
    Last Post: 8 Oct 2009, 06:35 PM
  4. When I click on EDIT for a customer under Admin I get a SQL error
    By mheishman in forum Managing Customers and Orders
    Replies: 3
    Last Post: 3 Dec 2008, 09:41 PM
  5. Replies: 13
    Last Post: 16 Mar 2007, 09:08 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Zen-Cart, Internet Selling Services, Klamath Falls, OR