summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 55358fb)
raw | patch | inline | side by side (parent: 55358fb)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 4 Apr 2007 11:04:09 +0000 (11:04 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 4 Apr 2007 11:04:09 +0000 (11:04 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5978 594d385d-05f5-0310-b6e9-bd551577e9d8
include/functions.inc | patch | blob | history |
diff --git a/include/functions.inc b/include/functions.inc
index 65c9fa53a16f485c081ec2d128c2b1441f04b0f4..7d9185482ed165b87659bf973a7116e9d9932f47 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."));