Join ON clause in Oracle - bad quotes

When I try to make a join:
$select->join("A", "A.A_ID = B.B_A_ID AND A.A_S = '1'");
result query is: 
INNER JOIN "A" ON "A"."A_ID" = "B"."B_A_ID" AND "A"."A_S" = "'""1""'"
it should be:
INNER JOIN "A" ON "A"."A_ID" = "B"."B_A_ID" AND "A"."A_S" = '1'