Fix syntax erorr in is_valid_receipt (#655)

This commit is contained in:
jekkos
2016-06-17 07:45:03 +02:00
parent 359184934e
commit fdb5e3406e
2 changed files with 2 additions and 2 deletions

View File

@@ -21,6 +21,6 @@ script:
after_success:
- docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- docker tag opensourcepos_php_1 jekkos/opensourcepos:latest
- docker tag opensourcepos_php jekkos/opensourcepos:latest
- docker push jekkos/opensourcepos

View File

@@ -253,7 +253,7 @@ class Receiving_lib
//RECV #
$pieces = explode(' ', $receipt_receiving_id);
if(count($pieces) == 2 && preg_match('/(RECV|KIT)/', $pieces[1]);
if(count($pieces) == 2 && preg_match('/(RECV|KIT)/', $pieces[1]))
{
return $this->CI->Receiving->exists($pieces[1]);
}