← Back to team overview

mahara-contributors team mailing list archive

[Bug 1486262] [NEW] Problem with isset() in a tempate file

 

Public bug reported:

Getting this error

PHP Fatal error: Cannot use isset() on the result of an expression (you
can use "null !== expression" instead) in
/var/lib/sitedata/.../htdocs/theme/raw/artefact/internal/blocktype/textbox/templates/content.tpl.d17.php
on line 14

So will fix up the relating template to not use isset() as it doesn't
need to

** Affects: mahara
     Importance: High
     Assignee: Robert Lyon (robertl-9)
         Status: In Progress

** Affects: mahara/1.10
     Importance: High
         Status: In Progress

** Affects: mahara/1.9
     Importance: High
         Status: In Progress

** Affects: mahara/15.04
     Importance: High
         Status: In Progress

** Also affects: mahara/15.04
   Importance: Undecided
       Status: New

** Also affects: mahara/1.10
   Importance: Undecided
       Status: New

** Also affects: mahara/1.9
   Importance: Undecided
       Status: New

** Changed in: mahara/1.10
    Milestone: None => 1.10.6

** Changed in: mahara/1.9
    Milestone: None => 1.9.8

** Changed in: mahara/15.04
    Milestone: None => 15.04.4

** Changed in: mahara
   Importance: Undecided => High

** Changed in: mahara/1.10
   Importance: Undecided => High

** Changed in: mahara/1.9
   Importance: Undecided => High

** Changed in: mahara/15.04
   Importance: Undecided => High

** Changed in: mahara
       Status: New => In Progress

** Changed in: mahara/1.10
       Status: New => In Progress

** Changed in: mahara/1.9
       Status: New => In Progress

** Changed in: mahara/15.04
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1486262

Title:
  Problem with isset() in a tempate file

Status in Mahara:
  In Progress
Status in Mahara 1.10 series:
  In Progress
Status in Mahara 1.9 series:
  In Progress
Status in Mahara 15.04 series:
  In Progress

Bug description:
  Getting this error

  PHP Fatal error: Cannot use isset() on the result of an expression
  (you can use "null !== expression" instead) in
  /var/lib/sitedata/.../htdocs/theme/raw/artefact/internal/blocktype/textbox/templates/content.tpl.d17.php
  on line 14

  So will fix up the relating template to not use isset() as it doesn't
  need to

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1486262/+subscriptions


Follow ups