Merge pull request #9750 from frederic34/patch-16

code comment
This commit is contained in:
Laurent Destailleur
2018-10-16 19:37:32 +02:00
committed by GitHub

View File

@@ -1,6 +1,7 @@
<?php <?php
/* Copyright (C) 2016 Jamal Elbaz <jamelbaz@gmail.pro> /* Copyright (C) 2016 Jamal Elbaz <jamelbaz@gmail.pro>
* Copyright (C) 2016-2017 Alexandre Spangaro <aspangaro@zendsi.com> * Copyright (C) 2016-2017 Alexandre Spangaro <aspangaro@zendsi.com>
* Copyright (C) 2018 Frédéric France <frederic.france@netlogic.fr>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@@ -541,7 +542,7 @@ class AccountancyCategory
* *
* @param int $cat_id Id accounting account category * @param int $cat_id Id accounting account category
* *
* @return array Result in table * @return array|int Result in table or -1 if error
*/ */
public function getCptsCat($cat_id) { public function getCptsCat($cat_id) {
global $mysoc; global $mysoc;