[-]
[+]
|
Changed |
_service:set_version:ix-inventory-system.spec
|
|
[-]
[+]
|
Changed |
_service:recompress:tar_scm:inventory-system-0.0.5822.tar.bz2/server/client-status.php
^
|
@@ -3,8 +3,8 @@
// isdf - inventory system search
// Author: Carsten Schoene
//
-// $LastChangedDate: 2013-05-02 20:11:51 +0200 (Thu, 02 May 2013) $
-// $Rev: 5785 $
+// $LastChangedDate: 2013-05-07 18:36:30 +0200 (Tue, 07 May 2013) $
+// $Rev: 5822 $
*/
// define our name
@@ -70,7 +70,7 @@
while (( $idrow = $idres->fetchRow(MDB2_FETCHMODE_ASSOC) )) {
if ( $idrow['datakey'] == "get_system_software" ) {
// extract inventory-system
- preg_match('/(ix-)?inventory-system-\d+\.\d+\.rev\d+-\d+\.\d+/', $idrow['value'],$treffer);
+ preg_match('/(ix-)?inventory-system-\d+\.\d+\.(rev)?\d+-\d+\.\d+/', $idrow['value'],$treffer);
$idrow['value'] = $treffer[0];
} elseif ( $idrow['datakey'] == "get_system_date" ) {
// convert to unix timestamp
|