Code

Fixed regex
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 8 Feb 2008 14:54:22 +0000 (14:54 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 8 Feb 2008 14:54:22 +0000 (14:54 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8785 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/modules/SIPackages.pm

index 22e052455cc08decb1db929d8e637f3e7c64b5ba..96a6edc15dd00e19bd95039ea4a0d900add8ae8c 100644 (file)
@@ -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;
                }