Plugin Directory

Changeset 3076337


Ignore:
Timestamp:
04/24/2024 10:43:19 AM (2 years ago)
Author:
tharkun69
Message:

1.4.2

  • Bugfix: Use plans controller for CSV export
Location:
occupancy-plan/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • occupancy-plan/trunk/admin/controller/class-occupancy-plan-blocks.php

    r3068888 r3076337  
    9999    public function action_block()
    100100    {
    101         error_log(print_r($_POST, true));
    102101        if (isset($_POST['occupancy-plan-save']))
    103102        {
  • occupancy-plan/trunk/admin/partials/occupancy-plan-blocks.php

    r3068435 r3076337  
    2121    if ((isset( $_GET['export'])) && (isset($_GET['planID'])))
    2222    {
    23         $filename = $this->get_plan_name(intval($_GET['planID'])) . '.csv';
     23        $filename = $this->plans->get_plan_name(intval($_GET['planID'])) . '.csv';
    2424        $now = gmdate('D, d M Y H:i:s') . ' GMT';
    2525
  • occupancy-plan/trunk/admin/partials/occupancy-plan-plan.php

    r3068435 r3076337  
    2020    if ((isset($_GET['export'])) && (isset($_GET['planID'])))
    2121    {
    22         $filename = $this->get_plan_name(intval($_GET['planID'])) . (('blocks' == $_GET['export'])? '-Blocks' : '') . '.csv';
     22        $filename = $this->plans->get_plan_name(intval($_GET['planID'])) . (('blocks' == $_GET['export'])? '-Blocks' : '') . '.csv';
    2323        $now = gmdate('D, d M Y H:i:s') . ' GMT';
    2424
     
    8383
    8484    $_SESSION["op_msgid"] = 0;
    85     $lastpage = $_SESSION["op_lastpage"];
     85    $lastpage = (isset($_SESSION["op_lastpage"]))? $_SESSION["op_lastpage"] : 'plan';
    8686    $_SESSION["op_lastpage"] = 'plan';
    8787    $_SESSION["op_blockid"] = 0;
  • occupancy-plan/trunk/occupancy-plan.php

    r3068888 r3076337  
    1616 * Plugin URI:        https://www.software-kunze.de/plugins/occupancy-plan/
    1717 * Description:       Management of Occupancy Plans
    18  * Version:           1.4.1
     18 * Version:           1.4.2
    1919 * Author:            Alexander Kunze Software Consulting
    2020 * Author URI:        https://www.software-kunze.de
     
    3636 * Rename this for your plugin and update it as you release new versions.
    3737 */
    38 define('Occupancy_Plan', '1.4.1');
     38define('Occupancy_Plan', '1.4.2');
    3939
    4040/**
  • occupancy-plan/trunk/readme.txt

    r3068888 r3076337  
    55Requires at least: 4.9
    66Tested up to: 6.5.2
    7 Stable tag: 1.4.1
     7Stable tag: 1.4.2
    88Requires PHP: 5.2.4
    99License: GPLv2 or later
     
    5050== Changelog ==
    5151
     52= 1.4.2 =
     53* Bugfix: Use plans controller for CSV export
     54
    5255= 1.4.1 =
    5356* Bugfix: Frontend add and delete booking
Note: See TracChangeset for help on using the changeset viewer.