Subversion Repositories eFlore/Applications.cel

Rev

Rev 2481 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2481 Rev 2505
Line 507... Line 507...
507
			$id_obs = $ordre_ids[$obs['ordre']]; // id réel de l'observation correspondant à l'ordre
507
			$id_obs = $ordre_ids[$obs['ordre']]; // id réel de l'observation correspondant à l'ordre
508
			$transmission = $obs['transmission'];
508
			$transmission = $obs['transmission'];
509
			$date_transmission = $obs['date_transmission'];
509
			$date_transmission = $obs['date_transmission'];
510
			foreach ($images_pour_obs['images'] as $image) {
510
			foreach ($images_pour_obs['images'] as $image) {
511
				$id_img = $image['id_image'];
511
				$id_img = $image['id_image'];
512
				$valuesSql[] = "($id_img, $id_obs, NOW(), $transmission, $date_transmission)";
512
				$valuesSql[] = "($id_img, $id_obs, NOW(), $transmission, '$date_transmission')";
513
			}
513
			}
514
		}
514
		}
Line 515... Line 515...
515
 
515
 
516
		if ($valuesSql) {
516
		if ($valuesSql) {