Changeset 6037 for trunk/workflow/inc/class.powergraphic.inc.php
- Timestamp:
- 04/26/12 11:43:10 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/workflow/inc/class.powergraphic.inc.php
r5921 r6037 1143 1143 $this->color['line_2'] = imagecolorallocate($this->img, 220, 200, 50); 1144 1144 } 1145 else if ( ereg("^(5|6)$", $this->type))1145 else if (preg_match('/^(5|6)$/', $this->type)) 1146 1146 { 1147 1147 $this->color['arc_1'] = imagecolorallocate($this->img, 100, 150, 200);
Note: See TracChangeset
for help on using the changeset viewer.