Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing connection methods in DboSybase. Fixes #145

  • Loading branch information...
commit 6e9ca4367e401ba88b8a5d3eb8a0a289dd7370b6 1 parent 3bf94e6
@markstory markstory authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 cake/libs/model/datasources/dbo/dbo_sybase.php
View
4 cake/libs/model/datasources/dbo/dbo_sybase.php
@@ -95,9 +95,9 @@ function connect() {
$port = ':' . $config['port'];
}
if ($config['persistent']) {
- $this->connection = sybase_connect($config['host'] . $port, $config['login'], $config['password'], true);
- } else {
$this->connection = sybase_pconnect($config['host'] . $port, $config['login'], $config['password']);
+ } else {
+ $this->connection = sybase_connect($config['host'] . $port, $config['login'], $config['password'], true);
}
$this->connected = sybase_select_db($config['database'], $this->connection);
return $this->connected;
Please sign in to comment.
Something went wrong with that request. Please try again.