Ticket #2244 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Undefined variable in hosting_plan_edit.php of the admin

Reported by: TheCry Owned by: benedikt
Priority: patch Milestone: ispCP ω 1.0.5
Component: Frontend (GUI) Version: ispCP ω nightly build
Severity: Easy Keywords:
Cc:

Description

If you force an error after updating there is a variable undefinded

{TR_EDIT_HOSTING_PLAN}

Attachments

hosting_plan_edit.php.patch Download (458 bytes) - added by TheCry 2 years ago.
gui/admin/hosting_plan_edit.php

Change History

comment:1 Changed 2 years ago by TheCry

  • Owner set to TheCry
  • Status changed from new to assigned

Changed 2 years ago by TheCry

gui/admin/hosting_plan_edit.php

comment:2 Changed 2 years ago by TheCry

Here ist the patch

comment:3 Changed 2 years ago by TheCry

  • Milestone changed from Working to ispCP ω 1.0.5

comment:4 Changed 2 years ago by nuxwin

@Benedikt:

I've not understand the real purpose of this patch but please, can you integrate it please ?

Thank

comment:5 Changed 2 years ago by nuxwin

  • Owner changed from TheCry to benedikt
  • Status changed from assigned to new

comment:6 Changed 2 years ago by TheCry

@nuxwin. Set the admin setting of "Hosting plans available for" to "Admin". Then create a simple hostingplan by the admin. Save it and after this edit the new hostingplan. Set "Mail accounts limit" to "abc" to force an error after saving... Then you will see the undefinded variable.

comment:7 Changed 2 years ago by nuxwin

  • Owner changed from benedikt to nuxwin
  • Status changed from new to assigned

comment:8 Changed 2 years ago by benedikt

  • Status changed from assigned to closed
  • Resolution set to fixed
  • Summary changed from Undefinded variable in hosting_plan_edit.php of the admin to Undefined variable in hosting_plan_edit.php of the admin

fixed in r2685. Sorry Nuxwin, I found something else and fixed it, too.

comment:9 Changed 2 years ago by nuxwin

  • Status changed from closed to reopened
  • Resolution fixed deleted

comment:10 Changed 2 years ago by nuxwin

  • Owner changed from nuxwin to benedikt
  • Status changed from reopened to new

comment:11 Changed 2 years ago by nuxwin

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.