diff options
| author | mike.benoit <mikeb@timetrex.com> | 2017-04-23 12:34:45 -0700 |
|---|---|---|
| committer | Damien Regad <dregad@mantisbt.org> | 2020-01-25 01:12:08 +0100 |
| commit | 5952c5f6015b7e0602392177d3cb329fc01a28df (patch) | |
| tree | bcb84cf9566bd758ab6772724771a08a62912a19 /adodb-loadbalancer.inc.php | |
| parent | 7ef03d1410a2ed2bc619fb59853912231f16b55d (diff) | |
| download | adodb-5952c5f6015b7e0602392177d3cb329fc01a28df.tar.gz adodb-5952c5f6015b7e0602392177d3cb329fc01a28df.tar.bz2 adodb-5952c5f6015b7e0602392177d3cb329fc01a28df.zip | |
Fix bug with __set() not actually setting the property and not doing it on all connection objects either.
Diffstat (limited to 'adodb-loadbalancer.inc.php')
| -rw-r--r-- | adodb-loadbalancer.inc.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/adodb-loadbalancer.inc.php b/adodb-loadbalancer.inc.php index ee4e87ac..472d1b36 100644 --- a/adodb-loadbalancer.inc.php +++ b/adodb-loadbalancer.inc.php @@ -613,9 +613,13 @@ class ADOdbLoadBalancer //Special function to set object properties on all objects without initiating a connection to the database. if ( is_array( $this->connections ) AND count( $this->connections ) > 0 ) { foreach ( $this->connections as $key => $connection_obj ) { - return $connection_obj->getADOdbObject()->$property; //Just returns the property from the first object. + $connection_obj->getADOdbObject()->$property = $value; } + + return TRUE; } + + return FALSE; } /** |
