Overview
SHA1:a148b1e08adfceef42dbf6ceccccf0c75024a074
Date: 2013-06-08 08:09:51
User: bohwaz
Comment:Correction bug [edda38ee74], merge dans stable
Timelines: family | ancestors | descendants | both | stable
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2013-06-08
08:24
[56382af0c1] Correction recherche numéro téléphone [cd3c4650bf] (user: bohwaz, tags: stable, 0.5.4)
08:10
[f90c3ac859] Merge avec stable (user: bohwaz, tags: trunk)
08:09
[a148b1e08a] Correction bug [edda38ee74], merge dans stable (user: bohwaz, tags: stable)
2013-05-24
09:59
[5fb2180a32] Fix [5c3ae7eab8] bug navigateurs avec valeurs décimales (user: bohwaz, tags: stable)
Changes

Modified include/class.sauvegarde.php from [1e52e2ca98] to [0f64cbe808].

64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
		{
			$this->remove(key($list));
			$list = array_shift($list);
		}

		foreach ($list as $f=>$d)
		{
			$new = preg_replace_callback('/\.(\d+)\.auto\.sqlite$!', function ($m) {
				return (int) $m[1] + 1;
			}, $f);

			rename(GARRADIN_DATA_ROOT . '/' . $f, GARRADIN_DATA_ROOT . '/' . $new);
		}

		return true;







|







64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
		{
			$this->remove(key($list));
			$list = array_shift($list);
		}

		foreach ($list as $f=>$d)
		{
			$new = preg_replace_callback('!\.(\d+)\.auto\.sqlite$!', function ($m) {
				return (int) $m[1] + 1;
			}, $f);

			rename(GARRADIN_DATA_ROOT . '/' . $f, GARRADIN_DATA_ROOT . '/' . $new);
		}

		return true;