summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c5f622d)
raw | patch | inline | side by side (parent: c5f622d)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 4 Apr 2007 11:04:49 +0000 (11:04 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 4 Apr 2007 11:04:49 +0000 (11:04 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5979 594d385d-05f5-0310-b6e9-bd551577e9d8
include/functions.inc | patch | blob | history |
diff --git a/include/functions.inc b/include/functions.inc
index e78c2f8742c209d972f4f3a163d3f5c09f5bbb0d..c9f00989294efb80663b36bea02a57c0ed54e306 100644 (file)
--- a/include/functions.inc
+++ b/include/functions.inc
if (check_command($command)){
@DEBUG (DEBUG_SHELL, __LINE__, __FUNCTION__, __FILE__, $command, "Execute");
exec($command, $output);
- if (preg_match("/^[0-9]+$/", $output)){
+ if (preg_match("/^[0-9]+$/", $output[0])){
return ($output[0]);
} else {
print_red(_("Warning - base_hook is not avialable. Using default base."));