Permalink
Browse files

more false variable fixes

  • Loading branch information...
1 parent 51c304b commit 341a657472ec8a24b68ecbf30bac58bbab9e70be @skyebook skyebook committed Apr 5, 2012
Showing with 15 additions and 15 deletions.
  1. +15 −15 inc/class.design.inc.php
View
@@ -87,19 +87,19 @@ public function findDesignByName($name){
$designs = array();
while($row=$stmt->fetch()){
if($row[DESIGN_TYPE]===DESIGN_TYPE_AUDIO){
- $designs[] = $this->audibleDesignFromRow($row, $false);
+ $designs[] = $this->audibleDesignFromRow($row, false);
}
else if($row[DESIGN_TYPE]===DESIGN_TYPE_VIDEO){
- $designs[] = $this->videoDesignFromRow($row, $false);
+ $designs[] = $this->videoDesignFromRow($row, false);
}
else if($row[DESIGN_TYPE]===DESIGN_TYPE_MODEL){
- $designs[] = $this->modeledDesignFromRow($row, $false);
+ $designs[] = $this->modeledDesignFromRow($row, false);
}
else if($row[DESIGN_TYPE]===DESIGN_TYPE_SKETCH){
- $designs[] = $this->sketchDesignFromRow($row, $false);
+ $designs[] = $this->sketchDesignFromRow($row, false);
}
else if($row[DESIGN_TYPE]===DESIGN_TYPE_EMPTY){
- $designs[] = $this->emptyDesignFromRow($row, $false);
+ $designs[] = $this->emptyDesignFromRow($row, false);
}
}
return $designs;
@@ -126,19 +126,19 @@ public function findDesignByUser($user, $start, $end, $excludeEmpty){
while($row=$stmt->fetch()){
if($row[DESIGN_TYPE]===DESIGN_TYPE_AUDIO){
- $designs[] = $this->audibleDesignFromRow($row, $false);
+ $designs[] = $this->audibleDesignFromRow($row, false);
}
else if($row[DESIGN_TYPE]===DESIGN_TYPE_VIDEO){
- $designs[] = $this->videoDesignFromRow($row, $false);
+ $designs[] = $this->videoDesignFromRow($row, false);
}
else if($row[DESIGN_TYPE]===DESIGN_TYPE_MODEL){
- $designs[] = $this->modeledDesignFromRow($row, $false);
+ $designs[] = $this->modeledDesignFromRow($row, false);
}
else if($row[DESIGN_TYPE]===DESIGN_TYPE_SKETCH){
- $designs[] = $this->sketchDesignFromRow($row, $false);
+ $designs[] = $this->sketchDesignFromRow($row, false);
}
else if($row[DESIGN_TYPE]===DESIGN_TYPE_EMPTY){
- $designs[] = $this->emptyDesignFromRow($row, $false);
+ $designs[] = $this->emptyDesignFromRow($row, false);
}
}
@@ -159,19 +159,19 @@ public function findDesignByCity($city){
$designs = array();
while($row=$stmt->fetch()){
if($row[DESIGN_TYPE]===DESIGN_TYPE_AUDIO){
- $designs[] = $this->audibleDesignFromRow($row, $false);
+ $designs[] = $this->audibleDesignFromRow($row, false);
}
else if($row[DESIGN_TYPE]===DESIGN_TYPE_VIDEO){
- $designs[] = $this->videoDesignFromRow($row, $false);
+ $designs[] = $this->videoDesignFromRow($row, false);
}
else if($row[DESIGN_TYPE]===DESIGN_TYPE_MODEL){
- $designs[] = $this->modeledDesignFromRow($row, $false);
+ $designs[] = $this->modeledDesignFromRow($row, false);
}
else if($row[DESIGN_TYPE]===DESIGN_TYPE_SKETCH){
- $designs[] = $this->sketchDesignFromRow($row, $false);
+ $designs[] = $this->sketchDesignFromRow($row, false);
}
else if($row[DESIGN_TYPE]===DESIGN_TYPE_EMPTY){
- $designs[] = $this->emptyDesignFromRow($row, $false);
+ $designs[] = $this->emptyDesignFromRow($row, false);
}
}
return $designs;

0 comments on commit 341a657

Please sign in to comment.