|
|
@@ -57,10 +57,11 @@ class Wrapper{
|
|
|
|
|
|
public static function get_table($name){
|
|
|
$instance = self::getInstance();
|
|
|
- echo $instance->_adapter->getConnection()->prefix;
|
|
|
+
|
|
|
if( $instance->_adapter->getConnection()->prefix ){
|
|
|
$name = $instance->_adapter->getConnection()->prefix . $name;
|
|
|
}
|
|
|
+
|
|
|
return new Table($name, Array(), $instance->_adapter);
|
|
|
}
|
|
|
|