File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ public function db_connect($persistent = FALSE)
153153 {
154154 log_message ('error ' , "Database: Unable to set the configured connection charset (' {$ this ->char_set }'). " );
155155 $ this ->close ();
156- return ($ this ->db ->debug ) ? $ this ->display_error ('db_unable_to_set_charset ' , $ charset ) : FALSE ;
156+ return ($ this ->db ->debug ) ? $ this ->display_error ('db_unable_to_set_charset ' , $ this -> char_set ) : FALSE ;
157157 }
158158
159159 if ($ this ->stricton )
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ public function db_connect($persistent = FALSE)
177177 {
178178 log_message ('error ' , "Database: Unable to set the configured connection charset (' {$ this ->char_set }'). " );
179179 $ mysqli ->close ();
180- return ($ this ->db ->db_debug ) ? $ this ->display_error ('db_unable_to_set_charset ' , $ charset ) : FALSE ;
180+ return ($ this ->db ->db_debug ) ? $ this ->display_error ('db_unable_to_set_charset ' , $ this -> char_set ) : FALSE ;
181181 }
182182
183183 return $ mysqli ;
Original file line number Diff line number Diff line change @@ -163,11 +163,11 @@ public function db_connect($persistent = FALSE)
163163 return FALSE ;
164164 }
165165
166- if (pg_set_client_encoding ($ this ->conn_id , $ charset ) !== 0 )
166+ if (pg_set_client_encoding ($ this ->conn_id , $ this -> char_set ) !== 0 )
167167 {
168168 log_message ('error ' , "Database: Unable to set the configured connection charset (' {$ this ->char_set }'). " );
169169 pg_close ($ this ->conn_id );
170- return ($ this ->db ->db_debug ) ? $ this ->display_error ('db_unable_to_set_charset ' , $ charset ) : FALSE ;
170+ return ($ this ->db ->db_debug ) ? $ this ->display_error ('db_unable_to_set_charset ' , $ this -> char_set ) : FALSE ;
171171 }
172172
173173 empty ($ this ->schema ) OR $ this ->simple_query ('SET search_path TO ' .$ this ->schema .',public ' );
You can’t perform that action at this time.
0 commit comments