Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- class.SMART.inc.php.orig 2012-11-27 12:42:18.000000000 -0600
- +++ class.SMART.inc.php 2012-11-27 12:39:42.000000000 -0600
- @@ -116,7 +116,7 @@
- $startIndex = $matches[0][1];
- // locate the end string offset for the attributes, this is usually right before string "SMART Error Log Version" (hopefully every output has it!)
- - if ( preg_match('/(SMART Error Log Version)/', $result, $matches, PREG_OFFSET_CAPTURE) )
- + if ( preg_match('/(SMART Error Log (Version|not supported))/', $result, $matches, PREG_OFFSET_CAPTURE) )
- $endIndex = $matches[0][1];
- if (($startIndex)&&($endIndex)&&($endIndex>$startIndex))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement