Skip to content

Commit ec298a5

Browse files
committed
Merge branch 'develop' of github.com:EllisLab/CodeIgniter into codeigniter/develop
2 parents 6697cf0 + 4253d32 commit ec298a5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

system/core/Loader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,7 @@ protected function _ci_init_class($class, $prefix = '', $config = FALSE, $object
10911091
if ( ! class_exists($name))
10921092
{
10931093
log_message('error', 'Non-existent class: '.$name);
1094-
show_error('Non-existent class: '.$class);
1094+
show_error('Non-existent class: '.$name);
10951095
}
10961096

10971097
// Set the variable name we will assign the class to

system/database/drivers/postgre/postgre_driver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ protected function _update_batch($table, $values, $index, $where = NULL)
529529
$cases = '';
530530
foreach ($final as $k => $v)
531531
{
532-
$cases .= $k.' = (CASE '.$k."\n"
532+
$cases .= $k.' = (CASE '.$index."\n"
533533
.implode("\n", $v)."\n"
534534
.'ELSE '.$k.' END), ';
535535
}

0 commit comments

Comments
 (0)