Changeset 154

Show
Ignore:
Timestamp:
02/09/09 18:23:47 (10 months ago)
Author:
swistow
Message:

Fix thinko in setting prefix

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/use-existing-dbh/lib/TheSchwartz.pm

    r149 r154  
    8686                      ); 
    8787        } 
    88         $driver->prefix(($db->{prefix} ? (prefix   => $db->{prefix}) : ())); 
     88        $driver->prefix($db->{prefix}) if exists $db->{prefix}; 
    8989 
    9090        if ($cache_duration) {