Changeset 1672
- Timestamp:
- 1/25/2010 6:02:12 AM (3 years ago)
- File:
-
- 1 edited
-
trunk/website/scripts/blackbox/upload.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/website/scripts/blackbox/upload.php
r1671 r1672 77 77 { 78 78 //Ignore the exception key; that stores the exception type. 79 if ( $stackIndex == 'exception')79 if ((string)$stackIndex == 'exception') 80 80 continue; 81 81 … … 85 85 if (preg_match('/^([^ ]+) (.*) ([^ ]+) (.*):([^ ]+) ([0-9]+)/', $stackFrame, $matches)) 86 86 { 87 $function = $matches[ 1];88 $file = $matches[ 2];89 $line = intval($matches[ 3]);87 $function = $matches[2]; 88 $file = $matches[4]; 89 $line = intval($matches[6]); 90 90 } 91 91 else if (preg_match('/^([^ ]+) (.*)/', $stackFrame, $matches)) 92 92 { 93 $function = $matches[ 1];93 $function = $matches[2]; 94 94 } 95 95
Note: See TracChangeset
for help on using the changeset viewer.
