From: cajus Date: Fri, 8 Feb 2008 14:54:22 +0000 (+0000) Subject: Fixed regex X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c311fe5c4a7aad9374a2583acbc5598efc82f6d6;p=gosa.git Fixed regex git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8785 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/modules/SIPackages.pm b/gosa-si/modules/SIPackages.pm index 22e052455..96a6edc15 100644 --- a/gosa-si/modules/SIPackages.pm +++ b/gosa-si/modules/SIPackages.pm @@ -784,7 +784,7 @@ sub new_ldap_config { # Fill release if available my $ou= $entry->get_value("ou"); - if (defined $ou && $ou ~= /^.* :([A-Za-z0-9/.]+).*$/){ + if (defined $ou && $ou =~ /^.* :([A-Za-z0-9\/.]+).*$/) { $data{'release'}= $1; }