Changeset 3744
- Timestamp:
- 02/06/07 16:22:56 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/branches/2.2/amp_conf/bin/retrieve_queues_conf_from_mysql.pl
r3697 r3744 58 58 } 59 59 60 $statement = "SELECT keyword,data from $table_name where id= 0and keyword <> 'account'";60 $statement = "SELECT keyword,data from $table_name where id='-1' and keyword <> 'account'"; 61 61 my $result = $dbh->selectall_arrayref($statement); 62 62 unless ($result) { … … 100 100 my $id = @{ $row }[1]; 101 101 print EXTEN "[$account]\n"; 102 $statement = "SELECT keyword,data from $table_name where id= $idand keyword <> 'account' and keyword <> 'rtone' order by flags";102 $statement = "SELECT keyword,data from $table_name where id='$id' and keyword <> 'account' and keyword <> 'rtone' order by flags"; 103 103 my $result = $dbh->selectall_arrayref($statement); 104 104 unless ($result) {
