Skip to content

Commit

Permalink
Removing split for PHP5.3 compliance.
Browse files Browse the repository at this point in the history
  • Loading branch information
KrisJordan committed Aug 6, 2009
1 parent 6ae4204 commit a0b6757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recess/recess/database/sql/SqlBuilder.class.php
Expand Up @@ -522,7 +522,7 @@ public function innerJoin($table, $tablePrimaryKey, $fromTableForeignKey) {
protected function join($leftOrRight, $innerOrOuter, $table, $tablePrimaryKey, $fromTableForeignKey) {
if($this->table == $table) {
$oldTable = $this->table;
$parts = split('__', $this->table);
$parts = explode('__', $this->table);
$partsCount = count($parts);
if($partsCount > 0 && is_int($parts[$partsCount-1])) {
$number = $parts[$partsCount - 1] + 1;
Expand Down

0 comments on commit a0b6757

Please sign in to comment.