Changeset 32917


Ignore:
Timestamp:
Jan 18, 2023, 4:05:30 PM (23 months ago)
Author:
ddtddt
Message:

[block_search] check php8

Location:
extensions/block_search
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/block_search/blocksearch/main.inc.php

    r32402 r32917  
    33// |Block search for Piwigo by TEMMII                                      |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2020 - 2021 ddtddt             http://temmii.com/piwigo/ |
     5// | Copyright(C) 2020 - 2023 ddtddt             http://temmii.com/piwigo/ |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
  • extensions/block_search/language/en_UK/plugin.lang.php

    r32402 r32917  
    33// |Block search for Piwigo by TEMMII                                      |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2020 - 2021 ddtddt             http://temmii.com/piwigo/ |
     5// | Copyright(C) 2020 - 2023 ddtddt             http://temmii.com/piwigo/ |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
  • extensions/block_search/language/fr_FR/plugin.lang.php

    r32166 r32917  
    33// |Block search for Piwigo by TEMMII                                      |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2020 ddtddt                    http://temmii.com/piwigo/ |
     5// | Copyright(C) 2020 - 2023 ddtddt             http://temmii.com/piwigo/ |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
  • extensions/block_search/main.inc.php

    r32432 r32917  
    1212// |Block search for Piwigo by TEMMII                                      |
    1313// +-----------------------------------------------------------------------+
    14 // | Copyright(C) 2020 - 2021 ddtddt             http://temmii.com/piwigo/ |
     14// | Copyright(C) 2020 - 2023 ddtddt             http://temmii.com/piwigo/ |
    1515// +-----------------------------------------------------------------------+
    1616// | This program is free software; you can redistribute it and/or modify  |
     
    4040$PWGSacc = pwg_db_fetch_assoc(pwg_query("SELECT state FROM " . PLUGINS_TABLE . " WHERE id = 'PWG_Stuffs';"));
    4141
    42 if($PWGSacc['state'] == 'active'){
     42if(isset($PWGSacc['state']) and $PWGSacc['state'] == 'active'){
    4343  add_event_handler('get_stuffs_modules', 'register_bsearch_module');
    4444
Note: See TracChangeset for help on using the changeset viewer.