Opened 15 years ago

Closed 15 years ago

#68 closed defect (fixed)

[PATCH] Reduce the php notices a little

Reported by: felix@… Owned by: ramonb
Priority: normal Milestone: 1.0
Component: web Version: trunk
Keywords: Cc:
Estimated Number of Hours:

Description

Running jobmonarch gave me hundreds of warnings like:

[Wed Nov 05 20:58:56 2008] [error] [client 10.10.8.99] PHP Notice:  Use of undefined constant VAL - assumed 'VAL' in /var/www/html/ganglia/addons/job_monarch/overview.php on line 294

This is fixed with attached patch.

Attachments (1)

jobmonarch-arrays.patch (12.8 KB) - added by felix@… 15 years ago.
just some sed to quote named arrays

Download all attachments as: .zip

Change History (3)

Changed 15 years ago by felix@…

just some sed to quote named arrays

comment:1 Changed 15 years ago by ramonb

  • Owner changed from somebody to ramonb
  • Status changed from new to assigned

thanks for your patch!

I've been meaning to get those fixed but never got around to it.

I will check out the patch and commit it to trunk.

comment:2 Changed 15 years ago by ramonb

  • Component changed from general to web
  • Milestone set to 0.4
  • Resolution set to fixed
  • Status changed from assigned to closed
  • Version changed from 0.3 to trunk

committed in changeset 577

Note: See TracTickets for help on using tickets.